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"); }