mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
9 lines
No EOL
307 B
Bash
Executable file
9 lines
No EOL
307 B
Bash
Executable file
#!/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 |