Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933

git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-05-21 05:59:27 +00:00
parent 6fad8c567f
commit e911cca913
30 changed files with 78 additions and 56 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) {
header('Content-Type: text/plain');
exit;
}
require( dirname(__FILE__) . '/wp-config.php' );
require( dirname(__FILE__) . '/wp-load.php' );
nocache_headers();