mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Fixed detection
This commit is contained in:
@@ -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.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user