mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 07:39:57 +00:00
Do not allow use of PHP 7.1 due to not compatible
This commit is contained in:
parent
6a717d8050
commit
7475aa3a18
@ -89,8 +89,8 @@ namespace pocketmine {
|
|||||||
* Enjoy it as much as I did writing it. I don't want to do it again.
|
* Enjoy it as much as I did writing it. I don't want to do it again.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if(version_compare("7.0", PHP_VERSION) > 0){
|
if(version_compare("7.0", PHP_VERSION) > 0 or version_compare("7.1", PHP_VERSION) <= 0){
|
||||||
echo "[CRITICAL] You must use PHP >= 7.0" . PHP_EOL;
|
echo "[CRITICAL] You must use PHP 7.0" . PHP_EOL;
|
||||||
echo "[CRITICAL] Please use the installer provided on the homepage." . PHP_EOL;
|
echo "[CRITICAL] Please use the installer provided on the homepage." . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user