From a8c91f6c0b2f43eef116a75b8b4d545b81fe65a9 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 9 May 2007 16:18:11 +0000 Subject: [PATCH] Include plugin.php before calling wp_die. fixes #4238 for 2.3. git-svn-id: http://svn.automattic.com/wordpress/trunk@5418 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-blog-header.php b/wp-blog-header.php index 411b93159e..00d3ccd5d3 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -7,6 +7,7 @@ if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) { require_once( dirname(__FILE__) . '/wp-includes/classes.php'); require_once( dirname(__FILE__) . '/wp-includes/functions.php'); + require_once( dirname(__FILE__) . '/wp-includes/plugin.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"); }