Don't wp_die() before functions.php is loaded.

git-svn-id: https://develop.svn.wordpress.org/trunk@4072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-08-05 03:47:20 +00:00
parent 8386c4a5c9
commit a6304a1c27

View File

@ -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;