Ticket #7997: wp-load.diff
| File wp-load.diff, 561 bytes (added by , 18 years ago) |
|---|
-
wp-load.php
26 26 /** The config file resides in ABSPATH */ 27 27 require_once( ABSPATH . 'wp-config.php' ); 28 28 29 } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) ) {29 } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-load.php' ) ) { 30 30 31 31 /** The config file resides one level below ABSPATH */ 32 32 require_once( dirname(ABSPATH) . '/wp-config.php' );