Zaman: 05-22-2012, 10:12

MyBB Tema - En Büyük MyBB Tema Sitesi

Konuyu görüntüleyenler: 1 Misafir
 
Değerlendir:
  • 1 Oy - 5 Yüzde
  • 1
  • 2
  • 3
  • 4
  • 5

Shield MyBB 1.6.1 Bakım ve Güvenlik Güncellemesi

(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 )



===============
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']); 




===============
2. newreply.php
===============

Bul:

PHP Kod:
elseif($mybb->input['action'] == "editdraft")
    {
        
// Drafts have posthashes, too...
        
$posthash $post['posthash'];
    }
    else
    {
        
$posthash $mybb->input['posthash'];
    } 

Bununla değiştir:

PHP Kod:
elseif($mybb->input['action'] == "editdraft")
    {
        
// Drafts have posthashes, too...
        
$posthash htmlspecialchars_uni($post['posthash']);
    }
    else
    {
        
$posthash htmlspecialchars_uni($mybb->input['posthash']);
    } 




===============
3. member.php
===============

Bul:

PHP Kod:
// 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 '';
    } 

Güncelleme işleminiz bitmiştir. Hayırlı olsun ! Smile
MyBBTurkiye.com a teşekkürler.




Eski Adım: MyPoweR

Linkleri görebilmek için sitemize kayıt olun.

Linkleri görebilmek için sitemize kayıt olun.


izzeTCan

*********
Daha Fazla...
  • Mesajlar: 2,574
  • Üyelik Tarihi: Sep 2008
  • Rep Puanı: 68
Web Sayfasını Ziyeret Edin Tüm Mesajlarını Bul


Mybbtema.Net Konu Araçları - MyBB 1.6.1 Bakım ve Güvenlik Güncellemesi
Paylaş
Konu Linki  
BB Kodu  
HTML Kodu  
Yazdırılabilir Sürüm Bu Konuyu Arkadaşına Gönder Konuya Abone Ol


Forum'a Git: