start.cmd for windown start.sh for linux

This commit is contained in:
ArkQuark 2022-01-20 19:44:51 +03:00
parent 809195b688
commit aefaf6a651
404 changed files with 0 additions and 169274 deletions

9
start.sh Executable file
View file

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