Changeset 10698
- Timestamp:
- 03/04/2009 07:30:16 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-admin/setup-config.php (modified) (1 diff)
-
wp-load.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/setup-config.php
r9443 r10698 43 43 wp_die("<p>The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>.</p>"); 44 44 45 // Check if wp-config.php exists above the root directory 46 if (file_exists('../../wp-config.php') && ! file_exists('../../wp- load.php'))45 // Check if wp-config.php exists above the root directory but is not part of another install 46 if (file_exists('../../wp-config.php') && ! file_exists('../../wp-settings.php')) 47 47 wp_die("<p>The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>.</p>"); 48 48 -
trunk/wp-load.php
r9443 r10698 27 27 require_once( ABSPATH . 'wp-config.php' ); 28 28 29 } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp- load.php' ) ) {29 } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) { 30 30 31 /** The config file resides one level below ABSPATH*/31 /** The config file resides one level above ABSPATH but is not part of another install*/ 32 32 require_once( dirname(ABSPATH) . '/wp-config.php' ); 33 33
Note: See TracChangeset
for help on using the changeset viewer.