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

git-svn-id: http://svn.automattic.com/wordpress/trunk@19633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-12-29 18:45:01 +00:00
parent 418b10e5ae
commit fb84309466
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