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