PocketMine-MP/start.sh
2013-01-28 18:10:43 +01:00

11 lines
295 B
Bash

#!/bin/bash
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
if [ -f php5/bin/php ]; then
./php5/bin/php -d enable_dl=On PocketMine-MP.php $@
read -p "Press [Enter] to continue..."
exit 0
fi
php -d enable_dl=On PocketMine-MP.php $@
read -p "Press [Enter] to continue..."
exit 0