PocketMine-MP/start.sh
Shoghi Cervantes e799376559 such fail :S
2014-01-29 19:11:47 +01:00

9 lines
297 B
Bash
Executable File

#!/bin/bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
if [ -f ./bin/php5/bin/php ]; then
./bin/php5/bin/php -d enable_dl=On PocketMine-MP.php $@
else
echo "[WARNING] You are not using the standalone PocketMine-MP PHP binary."
php -d enable_dl=On PocketMine-MP.php $@
fi