remove useless code

This commit is contained in:
Simon Vieille 2019-08-01 14:42:10 +02:00
父節點 6ebf013523
當前提交 067d2f9e93
簽署人: deblan
GPG Key ID: 03383D15A1D31745
共有 1 個文件被更改,包括 0 次插入6 次删除

查看文件

@ -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)" \