Index: wp-load.php =================================================================== --- wp-load.php (revision 13945) +++ wp-load.php (working copy) @@ -28,12 +28,14 @@ /** The config file resides in ABSPATH */ require_once( ABSPATH . 'wp-config.php' ); + define('WP_CONFIG_FILE', ABSPATH . '/wp-config.php'); } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) { /** The config file resides one level above ABSPATH but is not part of another install*/ require_once( dirname(ABSPATH) . '/wp-config.php' ); - + define('WP_CONFIG_FILE', dirname(ABSPATH) . '/wp-config.php'); + } else { // A config file doesn't exist