![]() |
MyBB Güvenlik Önlemleri "config.php Dosyasının Adını Değiştirmek" - Baskı Önizleme +- Hamdullah Board (https://hamdullah.org) +-- Forum: GENEL KÜLTÜR BİLGİLERİ (https://hamdullah.org/forumdisplay.php?fid=10) +--- Forum: GENEL KÜLTÜR BiLGiLERi MAiN (https://hamdullah.org/forumdisplay.php?fid=229) +---- Forum: Webmaster Bilgileri (https://hamdullah.org/forumdisplay.php?fid=232) +---- Konu Başlığı: MyBB Güvenlik Önlemleri "config.php Dosyasının Adını Değiştirmek" (/showthread.php?tid=18996) |
MyBB Güvenlik Önlemleri "config.php Dosyasının Adını Değiştirmek" - RasitTunca - 11-26-2022 MyBB Güvenlik Önlemleri "config.php Dosyasının Adını Değiştirmek" İlk olarak FTP den inc klasöründeki config.php dosyasının adını değişiyoruz. Örnek: Ben config.php dosyasının adını ayar.php olarak değiştirelim. Siz de kendinize göre bir isim belirleyip değiştirin. Daha sonra FTP/inc/init.php dosyasını buluyorsunuz ve init.php dosyasını açarak aşağıdaki talimatları uygulayın. Nokta Bul: Kod: Kod: if(!file_exists(MYBB_ROOT."inc/config.php")) Nokta Değiştir: Kod: Kod: if(!file_exists(MYBB_ROOT."inc/ayar.php")) Nokta Bul: Kod: Kod: require_once MYBB_ROOT."inc/config.php"; Nokta Değiştir: Kod: Kod: require_once MYBB_ROOT."inc/ayar.php"; Nokta Eğer adımları doğru bir şekilde yaptıysanız sorun yaşamazsınız ve config.php dosyasının adını değiştirerek forumunuzun veritabanı bilgilerine ulaşılmasını engellersiniz. |