mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Allow nested install. Props sivel. fixes #7997
git-svn-id: https://develop.svn.wordpress.org/trunk@9443 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -26,7 +26,7 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) {
|
||||
/** The config file resides in ABSPATH */
|
||||
require_once( ABSPATH . 'wp-config.php' );
|
||||
|
||||
} elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) ) {
|
||||
} elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-load.php' ) ) {
|
||||
|
||||
/** The config file resides one level below ABSPATH */
|
||||
require_once( dirname(ABSPATH) . '/wp-config.php' );
|
||||
|
||||
Reference in New Issue
Block a user