From fa1ec4ea1f20fa88128c31fb894b13870d546d10 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 5 Aug 2006 03:47:20 +0000 Subject: [PATCH] Don't wp_die() before functions.php is loaded. git-svn-id: http://svn.automattic.com/wordpress/trunk@4072 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-settings.php b/wp-settings.php index f0b1d4446..6f75beb63 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -47,10 +47,10 @@ if ( empty($PHP_SELF) ) $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]); if ( !(phpversion() >= '4.1') ) - wp_die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' ); + die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' ); if ( !extension_loaded('mysql') ) - wp_die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); + die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); function timer_start() { global $timestart;