Fixed detection

This commit is contained in:
Shoghi Cervantes 2014-04-01 12:09:18 +02:00
parent c688039047
commit e3ee317924

View File

@ -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.");
}