Merge pull request #226 from diolektor/fix-compare-php-version

Fix compare php version.
This commit is contained in:
Yuriy Pikhtarev 2017-04-27 00:17:35 +03:00 committed by GitHub
commit 8a98517b55

View file

@ -33,7 +33,7 @@ if (!defined('BB_CFG_LOADED')) {
trigger_error('File config.php not loaded', E_USER_ERROR);
}
if (version_compare(PHP_VERSION, '7.0.8', '>')) {
if (version_compare(PHP_VERSION, '7.0.8', '<')) {
die('TorrentPier requires PHP version 7.0.8 and above (used code and packages requirement). Your PHP version is ' . PHP_VERSION);
}