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
|
||||
ignore_user_abort(true);
|
||||
define('DOING_CRON', TRUE);
|
||||
require_once('./wp-config.php');
|
||||
require_once('./wp-load.php');
|
||||
|
||||
if ( $_GET['check'] != wp_hash('187425') )
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user