aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module/requirements
diff options
context:
space:
mode:
author3D-I <480857+3D-I@users.noreply.github.com>2020-01-01 19:23:31 +0100
committer3D-I <480857+3D-I@users.noreply.github.com>2020-01-01 19:23:50 +0100
commitc7dd7d42c68fc039467c55577f1a60ee1be3a744 (patch)
treee8639e92011f685fc8dc61054eb67101ba5d1dcc /phpBB/phpbb/install/module/requirements
parent16dad60eef209c5590adef5c7e46ffdfc50c144c (diff)
downloadforums-c7dd7d42c68fc039467c55577f1a60ee1be3a744.tar
forums-c7dd7d42c68fc039467c55577f1a60ee1be3a744.tar.gz
forums-c7dd7d42c68fc039467c55577f1a60ee1be3a744.tar.bz2
forums-c7dd7d42c68fc039467c55577f1a60ee1be3a744.tar.xz
forums-c7dd7d42c68fc039467c55577f1a60ee1be3a744.zip
[ticket/16283] Update requirements for 3.3.0
PHPBB3-16283
Diffstat (limited to 'phpBB/phpbb/install/module/requirements')
-rw-r--r--phpBB/phpbb/install/module/requirements/task/check_server_environment.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/phpbb/install/module/requirements/task/check_server_environment.php b/phpBB/phpbb/install/module/requirements/task/check_server_environment.php
index 93fffb911f..41aa82623b 100644
--- a/phpBB/phpbb/install/module/requirements/task/check_server_environment.php
+++ b/phpBB/phpbb/install/module/requirements/task/check_server_environment.php
@@ -96,9 +96,7 @@ class check_server_environment extends \phpbb\install\task_base
*/
protected function check_php_version()
{
- $php_version = PHP_VERSION;
-
- if (version_compare($php_version, '7.1.3') < 0)
+ if (version_compare(PHP_VERSION, '7.1.3', '<'))
{
$this->response_helper->add_error_message('PHP_VERSION_REQD', 'PHP_VERSION_REQD_EXPLAIN');