db.php instead of wp-db.php for pluggable DB load. #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f8c681b9ef
commit
c84524f349
|
@ -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