From 8abc36acd4d52cb11e0ae9805e77990642bc1d0b Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Fri, 28 Dec 2012 15:12:46 +0100 Subject: [PATCH] Changed files --- server.php => PocketMine-MP.php | 0 src/API/ConsoleAPI.php | 2 +- input.php => src/input.php | 0 start.cmd | 4 ++-- start.sh | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) rename server.php => PocketMine-MP.php (100%) rename input.php => src/input.php (100%) diff --git a/server.php b/PocketMine-MP.php similarity index 100% rename from server.php rename to PocketMine-MP.php diff --git a/src/API/ConsoleAPI.php b/src/API/ConsoleAPI.php index a0c2a3521..16d208702 100644 --- a/src/API/ConsoleAPI.php +++ b/src/API/ConsoleAPI.php @@ -30,7 +30,7 @@ class ConsoleAPI{ function __construct(PocketMinecraftServer $server){ $this->help = array(); $this->server = $server; - $this->input = fopen(FILE_PATH."console.in", "w+b"); + $this->input = fopen(FILE_PATH."src/console.in", "w+b"); $this->last = microtime(true); } diff --git a/input.php b/src/input.php similarity index 100% rename from input.php rename to src/input.php diff --git a/start.cmd b/start.cmd index 83a18c2e4..abdd99898 100644 --- a/start.cmd +++ b/start.cmd @@ -26,7 +26,7 @@ if not "%PHPOUTPUT%"=="1" ( echo [ERROR] Couldn't find PHP binary in PATH. ping 127.0.0.1 -n 3 -w 1000>nul ) else ( -START /B CMD /C CALL php server.php -START /B /WAIT php input.php 1 +START /B CMD /C CALL php PocketMine-MP.php +START /B /WAIT php src/input.php 1 ping 127.0.0.1 -n 5 -w 1000>nul ) \ No newline at end of file diff --git a/start.sh b/start.sh index ee771133f..7275fbcc7 100644 --- a/start.sh +++ b/start.sh @@ -1,3 +1,3 @@ #!/bin/bash -php server.php & -cat>console.in \ No newline at end of file +php PocketMine-MP.php & +cat > src/console.in \ No newline at end of file