Browse Source

fix typo

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

+ 5
- 5
bin/vhost-add View File

@@ -34,11 +34,11 @@ exit_if_empty "$DOMAIN" "Aborded! (DOMAIN_EMPTY)"

DOMAIN_ALIASES="$(form_input -t "$TITLE" -l "Aliase(s)")"

WEB_HTTP="$(form_yes_no -t "$TITLE" -l "Support of HTTP (recommanded)")"
WEB_HTTPS="$(form_yes_no -t "$TITLE" -l "Support of HTTPS (recommanded)")"
WEB_HTTP="$(form_yes_no -t "$TITLE" -l "Support of HTTP (recommended)")"
WEB_HTTPS="$(form_yes_no -t "$TITLE" -l "Support of HTTPS (recommended)")"

if [ "$WEB_HTTP" = "yes" ] && [ "$WEB_HTTPS" = "yes" ]; then
WEB_HTTPS_FORCE="$(form_yes_no -t "$TITLE" -l "Redirect HTTP to HTTPS (recommanded)")"
WEB_HTTPS_FORCE="$(form_yes_no -t "$TITLE" -l "Redirect HTTP to HTTPS (recommended)")"
else
WEB_HTTPS_FORCE="no"
fi
@@ -50,10 +50,10 @@ PHP_ENABLED="$(form_yes_no -t "$TITLE" -l "Support of PHP")"

if [ "$PHP_ENABLED" = "yes" ]; then
PHP_VERSION="$(form_choices -t "$TITLE" -l "Version of PHP" \
"7.3" "PHP 7.3 (recommanded)" \
"7.3" "PHP 7.3 (recommended)" \
"7.2" "PHP 7.2" \
"7.1" "PHP 7.1" \
"5.6" "PHP 5.6 (not recommanded)")"
"5.6" "PHP 5.6 (not recommended)")"

exit_if_empty "$PHP_VERSION" "Aborded! (PHP_VERSION_EMPTY)"
fi

Loading…
Cancel
Save