(Bu Mesaj 12-15-2010 06:35 değiştirilmiştir. Değiştiren : izzeTCan.)
OKUYUNUZ ! Güncelleme yapmadan önce mutlaka sitenizin yedeğini alınız. Eğer bir hata ile karşılaşırsanız yedek sayesinde düzeltilebilir.
MyBB 1.6.1 - Bakım ve Güvenlik Güncellemesi
1.6 Sürümü için Bakım ve Güvenlik güncellemesidir.Aşağıdaki dosyaları ftpnize direk şekilde atıp upgrade.php yi çalıştırın.(siteniz.com/install/upgrade.php)
Elle güncelleme yapmak isteyenler için: ( önerilir )
Aç
===============
1. editpost.php
===============
Bul:
PHP Kod:
// Setup a unique posthash for attachment management $posthash = $post['posthash'];
Bununla Değiştir:
PHP Kod:
// Setup a unique posthash for attachment management $posthash = htmlspecialchars_uni($post['posthash']);
// Redirect to the page where the user came from, but not if that was the login page. if($mybb->input['url'] && !preg_match("/action=login/i", $mybb->input['url'])) { $redirect_url = htmlentities($mybb->input['url']); } elseif($_SERVER['HTTP_REFERER']) { $redirect_url = htmlentities($_SERVER['HTTP_REFERER']); }
Bununla değiştir:
PHP Kod:
// Redirect to the page where the user came from, but not if that was the login page. if($_SERVER['HTTP_REFERER'] && strpos($_SERVER['HTTP_REFERER'], "action=login") === false) { $redirect_url = htmlentities($_SERVER['HTTP_REFERER']); } else { $redirect_url = ''; }