Define WPINC in wp-load when wp-config does not exist. see #19651.

git-svn-id: https://develop.svn.wordpress.org/trunk@19633 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-12-29 18:45:01 +00:00
parent a6ae2bbba5
commit 161b158172
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) {
require_once( ABSPATH . '/wp-includes/load.php' );
require_once( ABSPATH . '/wp-includes/version.php' );
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
define( 'WPINC', 'wp-includes' );
wp_check_php_mysql_versions();
// Die with an error message