| 1 | Index: wp-load.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-load.php (revision 13945) |
|---|
| 4 | +++ wp-load.php (working copy) |
|---|
| 5 | @@ -28,12 +28,14 @@ |
|---|
| 6 | |
|---|
| 7 | /** The config file resides in ABSPATH */ |
|---|
| 8 | require_once( ABSPATH . 'wp-config.php' ); |
|---|
| 9 | + define('WP_CONFIG_FILE', ABSPATH . '/wp-config.php'); |
|---|
| 10 | |
|---|
| 11 | } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) { |
|---|
| 12 | |
|---|
| 13 | /** The config file resides one level above ABSPATH but is not part of another install*/ |
|---|
| 14 | require_once( dirname(ABSPATH) . '/wp-config.php' ); |
|---|
| 15 | - |
|---|
| 16 | + define('WP_CONFIG_FILE', dirname(ABSPATH) . '/wp-config.php'); |
|---|
| 17 | + |
|---|
| 18 | } else { |
|---|
| 19 | |
|---|
| 20 | // A config file doesn't exist |
|---|