From c8f59de87acba193cb13a1130cc9f1301068504b Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Mon, 21 Oct 2013 09:23:44 +0000 Subject: [PATCH] Toujours utiliser la class action pour supprimer des fichiers --- awstats/bureau/class/m_aws.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awstats/bureau/class/m_aws.php b/awstats/bureau/class/m_aws.php index 472aede0..1cf19dc6 100644 --- a/awstats/bureau/class/m_aws.php +++ b/awstats/bureau/class/m_aws.php @@ -1,4 +1,4 @@ -raise("aws",_("Hostname is incorrect")); return false; } - @unlink($this->CONFDIR."/awstats.".$hostname.".conf"); + $action->del($this->CONFDIR. DIRECTORY_SEPARATOR . "awstats.".$hostname.".conf"); }