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:
parent
8fb3a20083
commit
fa1ec4ea1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue