mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
Added PHP >= 5.5 notice
This commit is contained in:
parent
db1b7ec4f2
commit
b96070a53a
@ -34,6 +34,9 @@ $errors = 0;
|
|||||||
if(version_compare("5.3.3", PHP_VERSION) > 0){
|
if(version_compare("5.3.3", PHP_VERSION) > 0){
|
||||||
console("[ERROR] Use PHP >= 5.3.3", true, true, 0);
|
console("[ERROR] Use PHP >= 5.3.3", true, true, 0);
|
||||||
++$errors;
|
++$errors;
|
||||||
|
}elseif(version_compare("5.5.0", PHP_VERSION) <= 0){
|
||||||
|
console("[NOTICE] PocketMine-MP hasn't been tested with PHP >= 5.5", true, true, 0);
|
||||||
|
++$errors;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(version_compare("5.4.0", PHP_VERSION) > 0){
|
if(version_compare("5.4.0", PHP_VERSION) > 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user