ForumKalbi.Com

ForumKalbi.Com (https://www.forumkalbi.com/index.php)
-   vBulletin (https://www.forumkalbi.com/forumdisplay.php?f=227)
-   -   vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolu (https://www.forumkalbi.com/showthread.php?t=39967)

Leydihan 03 Ağustos 2025 23:44

vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolu
 
vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolunu Değiştirme


[Foruma üye olmadığınız sürece forum içeriğindeki bağlantıları görüntüleyemezsiniz. Foruma üye olmak için TIKLAYIN!]


config.php nin adını değiştirin //
vBulletin kullananlar bilir tüm veritabanı şifreleri config.php de yazılıdır. Dolayısıyla bu dosyaya dışarıdan herhangi bir saldırı yapılmasını engellemek için ismini değiştirmek isteyebilirsiniz. O zaman aşağıdaki anlatılanları uygulayın.

AÇ

PHP- Kodu:

includes/class_core.php 



BUL


PHP- Kodu:

 include(CWD . '/includes/config.php');        if (sizeof($config) == 0)        {            if (file_exists(CWD. '/includes/config.php'))            {                // config.php exists, but does not define $config                die('<br /><br  /><strong>Configuration</strong>: includes/config.php  exists, but is not in the 3.6+ format. Please convert your config file  via the new config.php.new.');            }            else            {                die('<br /><br  /><strong>Configuration</strong>: includes/config.php  does not exist. Please fill out the data in config.php.new and rename it  to config.php');            }        } 

ALTTAKİYLE DEĞİŞTİR

PHP- Kodu:

include(CWD . ''/includes/ifconfig.php);        if (sizeof($config) == 0)        {            if (file_exists(CWD. '/includes/ifconfig.php'))            {                // config.php exists, but does not define $config                die('<br /><br  /><strong>Configuration</strong>: includes/config.php  exists, but is not in the 3.6+ format. Please convert your config file  via the new config.php.new.');            }            else            {                die('<br /><br  /><strong>Configuration</strong>: includes/config.php  does not exist. Please fill out the data in config.php.new and rename it  to config.php');            }        } 

Bu işlemden sonra config.php dosyanızı ifconfig.php olarak değiştirebilirsiniz. Tabiki bu örnek. dosyaya istediğiniz ismi verebilirsiniz. Hatta includes içinde bir klasör oluşturup içine yükleyebilir ve bu klasörü kontrolpanelden şifreleyebilir, yukarıdaki kodlardada ona göre değişiklik yapabilirsiniz.

NOT: vBulletin versiyon yükseltmelerinde problemle karşılasabilirsiniz, yükseltmeyi orjinal dosya ile yapınız.


Forum saati; Türkiye'ye göre ayarlanmış olup, şu an saat: 22:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Navbar with Avatar by Motorradforum