Fix compare php version.

This commit is contained in:
Vasily Komrakov 2017-04-25 13:33:28 +03:00
commit ef57459990
No known key found for this signature in database
GPG key ID: 558236680C20A69A

View file

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