mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use absolute paths for includes. Props hakre. fixes #9750
git-svn-id: https://develop.svn.wordpress.org/trunk@11301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -14,11 +14,16 @@
|
||||
*/
|
||||
define('WP_INSTALLING', true);
|
||||
|
||||
/**
|
||||
* This constant is used to include wp-load.php
|
||||
*/
|
||||
define('ABSPATH', dirname(dirname(__FILE__)).'/');
|
||||
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once('../wp-load.php');
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
|
||||
/** Load WordPress Administration Upgrade API */
|
||||
require_once('./includes/upgrade.php');
|
||||
require_once(dirname(__FILE__) . '/includes/upgrade.php');
|
||||
|
||||
if (isset($_GET['step']))
|
||||
$step = $_GET['step'];
|
||||
|
||||
Reference in New Issue
Block a user