Define WP_CONTENT_DIR in setup-config.php. Props sambauers. fixes #7221
git-svn-id: http://svn.automattic.com/wordpress/trunk@8238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a2ed9c5f28
commit
ae010f2558
|
@ -1,8 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
define('WP_INSTALLING', true);
|
define('WP_INSTALLING', true);
|
||||||
//These two defines are required to allow us to use require_wp_db() to load the database class while being wp-content/wp-db.php aware
|
//These three defines are required to allow us to use require_wp_db() to load the database class while being wp-content/wp-db.php aware
|
||||||
define('ABSPATH', dirname(dirname(__FILE__)).'/');
|
define('ABSPATH', dirname(dirname(__FILE__)).'/');
|
||||||
define('WPINC', 'wp-includes');
|
define('WPINC', 'wp-includes');
|
||||||
|
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
||||||
|
|
||||||
require_once('../wp-includes/compat.php');
|
require_once('../wp-includes/compat.php');
|
||||||
require_once('../wp-includes/functions.php');
|
require_once('../wp-includes/functions.php');
|
||||||
|
|
Loading…
Reference in New Issue