Browse Source

remove useless code

master
Simon Vieille 3 months ago
parent
commit
067d2f9e93
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      bin/vhost-add

+ 0
- 6
bin/vhost-add View File

@@ -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…
Cancel
Save