Fix bug in settin parameter 'PHP_ENGINE'.
This commit is contained in:
parent
da56286707
commit
8e5f8e9572
@ -244,7 +244,7 @@ if [[ ! -d ${WEB_BASE_DIR} ]] ; then
|
|||||||
fatal "Web base directory not found (parameter 'WEB_BASE_DIR')"
|
fatal "Web base directory not found (parameter 'WEB_BASE_DIR')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ -n "$PHP_ENGINE " ]] || PHP_ENGINE=$DEFAULT_PHP_ENGINE
|
[[ -n "$PHP_ENGINE" ]] || PHP_ENGINE=$DEFAULT_PHP_ENGINE
|
||||||
|
|
||||||
if [[ "$PHP_ENGINE" = "FPM" ]] && [[ -z "$PHP_VERSION" ]] ; then
|
if [[ "$PHP_ENGINE" = "FPM" ]] && [[ -z "$PHP_VERSION" ]] ; then
|
||||||
fatal "PHP Version must be givven if running PHP-FPM engine (parameter 'PHP_VERSION')"
|
fatal "PHP Version must be givven if running PHP-FPM engine (parameter 'PHP_VERSION')"
|
||||||
|
Loading…
Reference in New Issue
Block a user