بابهت: دۆزینهوهی كهلێن و نوێكردنهوهی 1.2.22 بۆ 1.2.23 ، خۆپاراستن لههاك .
سڵاو لهوهشانی 1.2.22 چوار ههڵه دۆزرایهوه لهپهڕگهكانی include/common.php و include/functions.php
چۆنیهتی نوێكردنهوه
پهڕگهی include/common.php بكهوه بگهڕێ بهدوای
set_magic_quotes_runtime(0);بیگۆڕهبه
if (get_magic_quotes_runtime())
set_magic_quotes_runtime(0);ئهم پهڕگهیه پاشهكهوت بكه
ئهم پهڕگهیه بكهوه include/functions.php
بگهڕێ بهدوای ئهم كۆده لهریزی 39:
if (isset($_COOKIE[$cookie_name]))بیگۆڕهبه
if (isset($_COOKIE[$cookie_name]) && preg_match('/a:2:{i:0;s:\d+:"(\d+)";i:1;s:\d+:"([0-9a-f]+)";}/', $_COOKIE[$cookie_name], $matches))دواتر بگهڕێ بهدوای ئهم كۆده لهڕیزی ژماره 40:
list($cookie['user_id'], $cookie['password_hash']) = @unserialize($_COOKIE[$cookie_name]);بیانگۆڕهبه
list(, $cookie['user_id'], $cookie['password_hash']) = $matches;ههروهها لهڕیزی ژماره 371 بگهڕێ بهدوای ئهم كۆدانه
$db->query('UPDATE '.$db->prefix.'forums SET num_topics='.$num_topics.', num_posts='.$num_posts.', last_post='.$last_post.', last_post_id='.$last_post_id.', last_poster=\''.$db->escape($last_poster).'\' WHERE id='.$forum_id) or error('Unable to update last_post/last_post_id/last_poster', __FILE__, __LINE__, $db->error());بیانگۆڕه به
$db->query('UPDATE '.$db->prefix.'forums SET num_topics='.$num_topics.', num_posts='.$num_posts.', last_post='.$last_post.', last_post_id='.$last_post_id.', last_poster=\''.$db->escape($last_poster).'\' WHERE id='.$forum_id) or error('Unable to update last_post/last_post_id/last_poster', __FILE__, __LINE__, $db->error());به هیوای سهركهوتن
بهستهری سهرهكی بابهت
http://punbb.informer.com/download/hdif … .2.23.html
"ئاسۆ نادری"