Fix bug in settin parameter 'PHP_ENGINE'.

This commit is contained in:
Christoph 2017-06-16 02:24:05 +02:00
parent da56286707
commit 8e5f8e9572

View File

@ -244,7 +244,7 @@ if [[ ! -d ${WEB_BASE_DIR} ]] ; then
fatal "Web base directory not found (parameter 'WEB_BASE_DIR')"
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
fatal "PHP Version must be givven if running PHP-FPM engine (parameter 'PHP_VERSION')"