such fail :S

This commit is contained in:
Shoghi Cervantes
2014-01-29 19:11:47 +01:00
parent e7aea41f80
commit e799376559
2 changed files with 4 additions and 9 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
if [ -f ./bin/php/php ]; then
./bin/php/php -d enable_dl=On PocketMine-MP.php $@
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 $@