From 8160b01da1b1e95dda77026983108dd2672c420a Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 7 Mar 2007 00:17:58 +0000 Subject: [PATCH] Fix wp_die() includes when bailing out in the blog header. Props tacker. fixes #3883 git-svn-id: http://svn.automattic.com/wordpress/trunk@4973 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index da9aa95ae4..321f35cc41 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -5,8 +5,9 @@ if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) { if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = ''; else $path = 'wp-admin/'; - require_once( dirname(__FILE__) . '/wp-includes/functions.php'); - wp_die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress › Error"); + require_once( dirname(__FILE__) . '/wp-includes/classes.php'); + require_once( dirname(__FILE__) . '/wp-includes/functions.php'); + wp_die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress › Error"); } $wp_did_header = true;