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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-08-05 03:47:20 +00:00
parent 8fb3a20083
commit fa1ec4ea1f
1 changed files with 2 additions and 2 deletions

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;