diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-07-31 15:18:35 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-07-31 15:18:35 +0200 |
commit | 4ac2547d6234dc7fcc1f34d645de904f08089896 (patch) | |
tree | 6ec1d7333354d659579dc70603750963903bb761 /phpBB/install | |
parent | 55223e6840e453c49f3a8bcd44d193aa91f57bf2 (diff) | |
parent | 0026ed02aec0f670a67a495c52f52255e4d685be (diff) | |
download | forums-4ac2547d6234dc7fcc1f34d645de904f08089896.tar forums-4ac2547d6234dc7fcc1f34d645de904f08089896.tar.gz forums-4ac2547d6234dc7fcc1f34d645de904f08089896.tar.bz2 forums-4ac2547d6234dc7fcc1f34d645de904f08089896.tar.xz forums-4ac2547d6234dc7fcc1f34d645de904f08089896.zip |
Merge pull request #4301 from 3D-I/PHPBB3-14596
[ticket/14596] Deny installation of Ascraeus under PHP 7
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/install_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index bb3a74ee5e..8e57ed3edd 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -151,10 +151,10 @@ class install_install extends module 'LEGEND_EXPLAIN' => $lang['PHP_SETTINGS_EXPLAIN'], )); - // Test the minimum PHP version + // Test the minimum and maximum version of PHP $php_version = PHP_VERSION; - if (version_compare($php_version, '5.3.3') < 0) + if ((version_compare($php_version, '5.3.3') < 0) || (version_compare($php_version, '7.0.0-dev', '>='))) { $result = '<strong style="color:red">' . $lang['NO'] . '</strong>'; } |