mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
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:
parent
8386c4a5c9
commit
a6304a1c27
@ -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…
x
Reference in New Issue
Block a user