mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 08:10:04 +00:00
Require PHP 4.3
git-svn-id: https://develop.svn.wordpress.org/trunk@6662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -87,8 +87,8 @@ $PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
if ( empty($PHP_SELF) )
|
||||
$_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
|
||||
|
||||
if ( version_compare( '4.2', phpversion(), '>' ) ) {
|
||||
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.2.' );
|
||||
if ( version_compare( '4.3', phpversion(), '>' ) ) {
|
||||
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.3.' );
|
||||
}
|
||||
|
||||
if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') )
|
||||
|
||||
Reference in New Issue
Block a user