From 4ad04f487ee60c9765260f042a5d232f1e916d64 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@4973 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;