From 7b5226363ee00483ed4e37d96001ec73de0e15f5 Mon Sep 17 00:00:00 2001 From: Guillaume Barbe Date: Wed, 17 Jan 2018 15:39:10 -0500 Subject: [PATCH] =?UTF-8?q?Corrig=C3=A9=20le=20r=C3=A9pertoire=20de=20vali?= =?UTF-8?q?dation=20des=20templates=20avant=20effacement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/functions_hosting.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions_hosting.sh b/src/functions_hosting.sh index ff38a62c..2cc5718b 100644 --- a/src/functions_hosting.sh +++ b/src/functions_hosting.sh @@ -210,7 +210,7 @@ host_delete() { fi # Fix of a longstanding BUG: we only DELETE the vhost file if the type is a vhost one ! - if [ -f "/etc/alternc/templates/${VTYPE}.conf" ] + if [ -f "${TEMPLATE_DIR}/${VTYPE}.conf" ] then local FENABLED=$(host_conffile "$FQDN") local FDISABLED="$FENABLED-disabled"