mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Fix check version php.
This commit is contained in:
parent
3f0504912f
commit
2aa166ea08
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
if (!defined('BB_ROOT')) {
|
if (!defined('BB_ROOT')) {
|
||||||
die(basename(__FILE__));
|
die(basename(__FILE__));
|
||||||
}
|
}
|
||||||
if (PHP_VERSION < '5.3') {
|
if (version_compare(PHP_VERSION, '5.3', '<')) {
|
||||||
die('TorrentPier requires PHP version 5.3+. Your PHP version ' . PHP_VERSION);
|
die('TorrentPier requires PHP version 5.3+. Your PHP version ' . PHP_VERSION);
|
||||||
}
|
}
|
||||||
if (!defined('BB_SCRIPT')) {
|
if (!defined('BB_SCRIPT')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue