1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 07:47:34 +02:00

[ticket/15227] Check PHP version and remove old unused code

PHPBB3-15227
This commit is contained in:
javiexin
2017-05-12 23:04:54 +02:00
parent ad5fcd5356
commit c2c5c20c31
2 changed files with 10 additions and 26 deletions

View File

@@ -20,11 +20,6 @@ if (!defined('IN_PHPBB'))
exit;
}
if (version_compare(PHP_VERSION, '5.4') < 0)
{
die('You are running an unsupported PHP version. Please upgrade to PHP 5.4.0 or higher before trying to install or update to phpBB 3.2');
}
require($phpbb_root_path . 'includes/startup.' . $phpEx);
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);