mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 18:29:46 +00:00
Fixed detection
This commit is contained in:
parent
c688039047
commit
e3ee317924
@ -356,7 +356,7 @@ namespace pocketmine {
|
|||||||
new Installer();
|
new Installer();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(substr(__FILE__, 0, 7) !== "phar"){
|
if(substr(__FILE__, 0, 7) !== "phar://"){
|
||||||
console("[WARNING] Non-packaged PocketMine-MP installation detected, do not use on production.");
|
console("[WARNING] Non-packaged PocketMine-MP installation detected, do not use on production.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user