Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -19,7 +19,7 @@ require_once('../wp-load.php');
|
||||
if ( ! isset( $_REQUEST['action'] ) )
|
||||
die('-1');
|
||||
|
||||
require_once('includes/admin.php');
|
||||
require_once('./includes/admin.php');
|
||||
@header('Content-Type: text/html; charset=' . get_option('blog_charset'));
|
||||
send_nosniff_header();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user