tested on 3.7 and 3.8 and 4.1
1.Open includes/class_core.php and find
كود PHP:
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'); } }
replace
/includes/config.php
to new name and path
on
كود PHP:
include(CWD . '/includes/config.php');
and
كود PHP:
if (file_exists(CWD. '/includes/config.php'))
====
example:
كود PHP:
include(CWD . '/images/xxx.php');
if (sizeof($config) == 0) { if (file_exists(CWD. '/images/xxx.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'); } }
and save class_core.php
i move config.php to vBulletin/images/xxx.php
========================
We recommend that you do the following:
1-Encryption includes/class_core.php
2-use the false and misleading information in that old config.php
Unexpected errors:
- before upgrade vBulletin in Future Should return the default settings
If you are using old mod vBulletin SEO
1-open includes/config_vbseo.php
find:
كود PHP:
define('VBSEO_VB_CONFIG', 'config.php');
replace config with your new vBulletin config name.
مواقع النشر (المفضلة)