NostalgiaCore/start.sh
kotyaralih 2ea35fc6e7 ok
2022-01-31 06:55:34 +00:00

9 lines
No EOL
307 B
Bash

#!/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 NostalgiaCore PHP binary."
exec php -d enable_dl=On PocketMine-MP.php $@
fi