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:
ryan 2008-07-02 17:03:55 +00:00
parent a2ed9c5f28
commit ae010f2558
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
<?php
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('WPINC', 'wp-includes');
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
require_once('../wp-includes/compat.php');
require_once('../wp-includes/functions.php');