IP storage and attachment system bugfix. PHP 5.6+.

This commit is contained in:
Yuriy Pikhtarev 2017-06-12 03:31:39 +03:00
commit 8c6097f5d8
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
14 changed files with 74 additions and 123 deletions

View file

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