mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +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:
@@ -43,7 +43,7 @@ if (file_exists('../wp-config.php'))
|
||||
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>");
|
||||
|
||||
// Check if wp-config.php exists above the root directory
|
||||
if (file_exists('../../wp-config.php'))
|
||||
if (file_exists('../../wp-config.php') && ! file_exists('../../wp-load.php'))
|
||||
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>");
|
||||
|
||||
if (isset($_GET['step']))
|
||||
|
||||
Reference in New Issue
Block a user