aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/app.php
diff options
context:
space:
mode:
author3D-I <marktravai@gmail.com>2019-01-05 18:35:28 +0100
committer3D-I <marktravai@gmail.com>2019-01-05 18:36:54 +0100
commit8fa7e18e2bc059f592c4f77d4ad7c3dd2e310fb1 (patch)
tree17bfec6c3617b48781a2218a952d82939d1837e6 /phpBB/install/app.php
parent5949f912ba429c05109c5814f5efc85ff8872d02 (diff)
downloadforums-8fa7e18e2bc059f592c4f77d4ad7c3dd2e310fb1.tar
forums-8fa7e18e2bc059f592c4f77d4ad7c3dd2e310fb1.tar.gz
forums-8fa7e18e2bc059f592c4f77d4ad7c3dd2e310fb1.tar.bz2
forums-8fa7e18e2bc059f592c4f77d4ad7c3dd2e310fb1.tar.xz
forums-8fa7e18e2bc059f592c4f77d4ad7c3dd2e310fb1.zip
[ticket/15926] Deny 3.2.x installation if PHP >= 7.3-dev
PHPBB3-15926
Diffstat (limited to 'phpBB/install/app.php')
-rw-r--r--phpBB/install/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/app.php b/phpBB/install/app.php
index ef29bd5722..b4adf0431a 100644
--- a/phpBB/install/app.php
+++ b/phpBB/install/app.php
@@ -20,7 +20,7 @@ define('PHPBB_ENVIRONMENT', 'production');
$phpbb_root_path = '../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
-if ( version_compare(PHP_VERSION, '5.4.7', '<') || version_compare(PHP_VERSION, '7.3-dev', '>=') )
+if (version_compare(PHP_VERSION, '5.4.7', '<') || version_compare(PHP_VERSION, '7.3-dev', '>='))
{
die('You are running an unsupported PHP version. Please upgrade to PHP equal or greater than 5.4.7 but less than 7.3-dev in order to install or update to phpBB 3.2');
}