Update required PHP version to 7.1.3

Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
Yuriy Pikhtarev 2018-06-24 15:10:48 +03:00
commit 4667c92f60
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
5 changed files with 1322 additions and 17 deletions

View file

@ -14,8 +14,8 @@ if (!defined('BB_ROOT')) {
/**
* Check PHP version
*/
if (version_compare(PHP_VERSION, '5.6', '<')) {
die('TorrentPier requires PHP version 5.6+. Your PHP version ' . PHP_VERSION);
if (PHP_VERSION_ID < 70103) {
die('TorrentPier requires PHP version 7.1.3+. Your PHP version ' . PHP_VERSION);
}
/**