PocketMine-MP/start.sh
Shoghi Cervantes Pueyo 38eed99789 Fixed issues and sockets
2013-01-04 16:04:06 +01:00

8 lines
204 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
exit 0
fi
php -d enable_dl=On PocketMine-MP.php