mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Merge pull request #226 from diolektor/fix-compare-php-version
Fix compare php version.
This commit is contained in:
commit
8a98517b55
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue