From c0c0858989cc0d4378f907a8debff89a583d80f6 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Tue, 16 Oct 2012 07:41:03 +0000 Subject: [PATCH] =?UTF-8?q?Evite=20de=20stocker=20les=201000=20premiers=20?= =?UTF-8?q?compte=20dans=20le=20m=C3=AAme=20repertoire=20de=20conf=20apach?= =?UTF-8?q?e=20(merci=20Remi)?= 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 b9f70a1c..70d46857 100644 --- a/src/functions_hosting.sh +++ b/src/functions_hosting.sh @@ -33,7 +33,7 @@ host_conffile() { # Return the absolute path of a conf file for a FQDN local FQDN="$1" local U_ID=$(get_uid_by_domain "$FQDN") - local CONFFILE="$VHOST_DIR/${U_ID:0:1}/$U_ID/$FQDN.conf" + local CONFFILE="$VHOST_DIR/${U_ID:(-1)}/$U_ID/$FQDN.conf" echo $CONFFILE return 0 }