mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15926] Deny 3.2.x installation if PHP >= 7.3-dev
PHPBB3-15926
This commit is contained in:
parent
5949f912ba
commit
8fa7e18e2b
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue