mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14205] Bump PHP requirement to PHP 5.4
PHPBB3-14205
This commit is contained in:
@@ -22,9 +22,9 @@ define('PHPBB_ENVIRONMENT', 'production');
|
||||
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
|
||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.3.9') < 0)
|
||||
if (version_compare(PHP_VERSION, '5.4') < 0)
|
||||
{
|
||||
die('You are running an unsupported PHP version. Please upgrade to PHP 5.3.9 or higher before trying to install phpBB 3.1');
|
||||
die('You are running an unsupported PHP version. Please upgrade to PHP 5.4 or higher before trying to install phpBB 3.2');
|
||||
}
|
||||
|
||||
function phpbb_require_updated($path, $optional = false)
|
||||
|
@@ -163,7 +163,7 @@ class install_install extends module
|
||||
// Test the minimum PHP version
|
||||
$php_version = PHP_VERSION;
|
||||
|
||||
if (version_compare($php_version, '5.3.9') < 0)
|
||||
if (version_compare($php_version, '5.4') < 0)
|
||||
{
|
||||
$result = '<strong style="color:red">' . $lang['NO'] . '</strong>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user