start.cmd: fixed incorrect php.ini scan dir when using a non-local binary

This commit is contained in:
Dylan K. Taylor
2021-07-17 21:49:11 +01:00
parent bd5f379c4c
commit eccd258aeb

View File

@ -22,5 +22,5 @@ if exist bin\mintty.exe (
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o Font="Consolas" -o FontHeight=10 -o CursorType=0 -o CursorBlinks=1 -h error -t "PocketMine-MP" -i bin/pocketmine.ico -w max %PHP_BINARY% %POCKETMINE_FILE% --enable-ansi %*
) else (
REM pause on exitcode != 0 so the user can see what went wrong
%PHP_BINARY% -c bin\php %POCKETMINE_FILE% %* || pause
%PHP_BINARY% %POCKETMINE_FILE% %* || pause
)