This commit is contained in:
Simon Vieille 2019-08-02 09:46:34 +02:00
bovenliggende 067d2f9e93
commit 564ff5715e
Getekend door: deblan
GPG sleutel-ID: 03383D15A1D31745
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen

Bestand weergeven

@ -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