Corrigé le répertoire de validation des templates avant effacement

This commit is contained in:
Guillaume Barbe 2018-01-17 15:39:10 -05:00
parent 583df9a3ba
commit 7b5226363e
1 changed files with 1 additions and 1 deletions

View File

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