db.php instead of wp-db.php for pluggable DB load. #2721
git-svn-id: https://develop.svn.wordpress.org/trunk@4160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d41bf225fb
commit
873e447e6b
@ -69,8 +69,8 @@ if ( defined('WP_CACHE') )
|
||||
require (ABSPATH . 'wp-content/advanced-cache.php');
|
||||
|
||||
define('WPINC', 'wp-includes');
|
||||
if ( file_exists(ABSPATH . 'wp-content/wp-db.php') )
|
||||
require (ABSPATH . 'wp-content/wp-db.php');
|
||||
if ( file_exists(ABSPATH . 'wp-content/db.php') )
|
||||
require (ABSPATH . 'wp-content/db.php');
|
||||
else
|
||||
require_once (ABSPATH . WPINC . '/wp-db.php');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user