mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
build: avoid weak comparison
This commit is contained in:
parent
47cb04f6a6
commit
38441a6ba3
@ -129,7 +129,7 @@ function buildPhar(string $pharPath, string $basePath, array $includedPaths, arr
|
|||||||
}
|
}
|
||||||
|
|
||||||
function main() : void{
|
function main() : void{
|
||||||
if(ini_get("phar.readonly") == 1){
|
if(ini_get("phar.readonly") === "1"){
|
||||||
echo "Set phar.readonly to 0 with -dphar.readonly=0" . PHP_EOL;
|
echo "Set phar.readonly to 0 with -dphar.readonly=0" . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user