في
includes/function.php
قارن هالكود مع الموجود عندك
function check_download_token($token) {
global $site_sess, $user_info;
if ($user_info['user_level'] == ADMIN) {
return true;
}
$download_token = @unserialize($site_sess->get_session_var('download_token'));
if (isset($download_token[md5($token)])) {
return true;
}
return false;
}
بالتوفيق