Make WordPress Core

Changeset 10698 for trunk/wp-load.php


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-load.php

    r9443 r10698  
    2727    require_once( ABSPATH . 'wp-config.php' );
    2828
    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' ) ) {
    3030
    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*/
    3232    require_once( dirname(ABSPATH) . '/wp-config.php' );
    3333
Note: See TracChangeset for help on using the changeset viewer.