Ticket #7997: setup-config.diff
| File setup-config.diff, 874 bytes (added by , 17 years ago) |
|---|
-
wp-admin/setup-config.php
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 45 // Check if wp-config.php exists above the root directory 46 if (file_exists('../../wp-config.php') )46 if (file_exists('../../wp-config.php') && ! file_exists('../../wp-load.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 49 49 if (isset($_GET['step']))