mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
tweaks
This commit is contained in:
parent
c7e509960e
commit
385c89ab15
2 changed files with 4 additions and 4 deletions
4
start.sh
4
start.sh
|
|
@ -20,9 +20,9 @@ while getopts "p:f:l" OPTION 2> /dev/null; do
|
|||
done
|
||||
|
||||
if [ "$PHP_BINARY" == "" ]; then
|
||||
if [ -f ./bin/php5/bin/php ]; then
|
||||
if [ -f ./bin/php7/bin/php ]; then
|
||||
export PHPRC=""
|
||||
PHP_BINARY="./bin/php5/bin/php"
|
||||
PHP_BINARY="./bin/php7/bin/php"
|
||||
elif [[ ! -z $(type php) ]]; then
|
||||
PHP_BINARY=$(type -p php)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue