Make WordPress Core


Ignore:
Timestamp:
03/04/2009 07:30:16 PM (17 years ago)
Author:
ryan
Message:

Nested install fixes. Props sivel. fixes #7997 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r9443 r10698  
    4343    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>");
    4444
    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
     46if (file_exists('../../wp-config.php') && ! file_exists('../../wp-settings.php'))
    4747    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>");
    4848
Note: See TracChangeset for help on using the changeset viewer.