From 401c201a9764c28629433c7b878cf5248cc301f4 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Wed, 4 Sep 2013 20:27:49 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20start.cmd=20=C2=AC=C2=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.cmd | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/start.cmd b/start.cmd index d15b56d37..c8cfd5c6e 100644 --- a/start.cmd +++ b/start.cmd @@ -3,9 +3,12 @@ TITLE PocketMine-MP server software for Minecraft: Pocket Edition cd /d %~dp0 FOR /F "tokens=*" %%i in ('php -r "echo 1;"') do SET PHPOUTPUT=%%i if not "%PHPOUTPUT%"=="1" ( -echo [ERROR] Couldn't find PHP binary in PATH. -echo [INFO] Please use the Windows installer from the homepage -pause + FOR /F "tokens=*" %%i in ('bin\php\php -r "echo 1;"') do SET PHPOUTPUT=%%i + if not "%PHPOUTPUT%"=="1" ( + echo [ERROR] Couldn't find PHP binary in PATH. + echo [INFO] Please use the Windows installer from the homepage + pause + ) ) else ( if exist bin\php\php.exe ( if exist bin\mintty.exe (