remove useless code
This commit is contained in:
parent
6ebf013523
commit
067d2f9e93
|
@ -43,17 +43,11 @@ else
|
||||||
WEB_HTTPS_FORCE="no"
|
WEB_HTTPS_FORCE="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [ "$WEB_HTTPS" = "yes" ]; then
|
|
||||||
# WEB_HTTPS_GENERATE_CERTIFICATE="$(form_yes_no -t "$TITLE" -l "Retrieve certificate using LE")"
|
|
||||||
#fi
|
|
||||||
|
|
||||||
DOCUMENT_ROOT="$(form_input -t "$TITLE" -l "Document root\n$WEB_ROOT_PATH/$DOMAIN/" -d "web/")"
|
DOCUMENT_ROOT="$(form_input -t "$TITLE" -l "Document root\n$WEB_ROOT_PATH/$DOMAIN/" -d "web/")"
|
||||||
DOCUMENT_ROOT="$WEB_ROOT_PATH/$DOMAIN/$DOCUMENT_ROOT"
|
DOCUMENT_ROOT="$WEB_ROOT_PATH/$DOMAIN/$DOCUMENT_ROOT"
|
||||||
|
|
||||||
PHP_ENABLED="$(form_yes_no -t "$TITLE" -l "Support of PHP")"
|
PHP_ENABLED="$(form_yes_no -t "$TITLE" -l "Support of PHP")"
|
||||||
|
|
||||||
exit_if_empty "$DOCUMENT_ROOT" "Aborded! (SYSTEM_USERNAME_EMPTY)"
|
|
||||||
|
|
||||||
if [ "$PHP_ENABLED" = "yes" ]; then
|
if [ "$PHP_ENABLED" = "yes" ]; then
|
||||||
PHP_VERSION="$(form_choices -t "$TITLE" -l "Version of PHP" \
|
PHP_VERSION="$(form_choices -t "$TITLE" -l "Version of PHP" \
|
||||||
"7.3" "PHP 7.3 (recommanded)" \
|
"7.3" "PHP 7.3 (recommanded)" \
|
||||||
|
|
Loading…
Reference in a new issue