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:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (empty($wp)) {
|
||||
require_once('./wp-config.php');
|
||||
require_once('./wp-load.php');
|
||||
wp();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user