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