remove useless code
This commit is contained in:
父節點
6ebf013523
當前提交
067d2f9e93
|
@ -43,17 +43,11 @@ else
|
|||
WEB_HTTPS_FORCE="no"
|
||||
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="$WEB_ROOT_PATH/$DOMAIN/$DOCUMENT_ROOT"
|
||||
|
||||
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
|
||||
PHP_VERSION="$(form_choices -t "$TITLE" -l "Version of PHP" \
|
||||
"7.3" "PHP 7.3 (recommanded)" \
|
||||
|
|
Loading…
Reference in New Issue