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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-05-21 05:59:27 +00:00
parent e9aa24cffb
commit 5b8113578d
30 changed files with 78 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
<?php
if (empty($wp)) {
require_once('./wp-config.php');
require_once('./wp-load.php');
wp();
}