mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Warn about not using the bin/ PHP binary
This commit is contained in:
parent
2b920033ff
commit
a8055eb59a
11
start.sh
11
start.sh
@ -2,12 +2,13 @@
|
||||
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||
cd "$DIR"
|
||||
if [ -f ./php5/bin/php ]; then
|
||||
mkdir -m 0777 bin/
|
||||
mv ./php5/bin/php ./bin/php
|
||||
rm -r -f ./php5/
|
||||
mkdir -m 0777 bin/
|
||||
mv ./php5/bin/php ./bin/php
|
||||
rm -r -f ./php5/
|
||||
fi
|
||||
if [ -f ./bin/php ]; then
|
||||
./bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||
./bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||
else
|
||||
php -d enable_dl=On PocketMine-MP.php $@
|
||||
echo "[WARNING] You are not using the standalone PocketMine-MP PHP binary."
|
||||
php -d enable_dl=On PocketMine-MP.php $@
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user