Merge pull request #218 from GuillaumeFromage/stable-3.1
Corriger le répertoire de validation des templates avant effacement Use value set in local.sh and not an hardcoded path
This commit is contained in:
		
						commit
						64bcb12f8d
					
				| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue