diff options
author | 3Di <three3di@hotmail.it> | 2016-04-23 07:10:59 +0200 |
---|---|---|
committer | 3Di <three3di@hotmail.it> | 2016-04-23 07:11:34 +0200 |
commit | 269e2535242d5967dc4a293bddf0383a2b8c3b9e (patch) | |
tree | b586b0b8367523a47e45dfef524c767c2557d5fa /phpBB/install | |
parent | 4cdec74e94728605089587f2fd0667b3b3e4e558 (diff) | |
download | forums-269e2535242d5967dc4a293bddf0383a2b8c3b9e.tar forums-269e2535242d5967dc4a293bddf0383a2b8c3b9e.tar.gz forums-269e2535242d5967dc4a293bddf0383a2b8c3b9e.tar.bz2 forums-269e2535242d5967dc4a293bddf0383a2b8c3b9e.tar.xz forums-269e2535242d5967dc4a293bddf0383a2b8c3b9e.zip |
[ticket/14596] Deny installation of Ascraeus under PHP 7
PHPBB3-14596
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 5b818f9475..b57a079f13 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>'; } |