From 66be4943f9c0fe777d46c2429827ed61c191543b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 14 May 2004 20:46:05 +0000 Subject: [PATCH] Include wp-l10n.php after wp-config.php is included so that WPLANG is set. This means we cannot translate the "no wp-config.php" error. git-svn-id: https://develop.svn.wordpress.org/trunk@1281 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-blog-header.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index d1c2a1f2b1..fd975cdbc8 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -1,12 +1,12 @@ 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.")); + 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."); require_once(dirname(__FILE__).'/' . '/wp-config.php'); +require_once(dirname(__FILE__).'/' . 'wp-includes/wp-l10n.php'); + // Process PATH_INFO, if set. $path_info = array(); if (! empty($_SERVER['PATH_INFO'])) {