Leydihan
03 Ağustos 2025, 23:44
vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolunu Değiştirme
[Only Registered Users Can See Links] 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Ç
includes/class_core.php
BUL
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
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.
[Only Registered Users Can See Links] 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Ç
includes/class_core.php
BUL
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
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.