diff --git a/customer_domains.php b/customer_domains.php index cb809bbe..a14c31e1 100644 --- a/customer_domains.php +++ b/customer_domains.php @@ -126,7 +126,7 @@ elseif($page == 'domains') { $row = htmlentities_array($domain_array[$sortkey]); if($settings['system']['awstats_enabled'] == '1') { - $statsapp = 'awstats/'.$row['domain'].'/'; + $statsapp = 'awstats'; } else { $statsapp = 'webalizer'; } diff --git a/scripts/jobs/cron_tasks.inc.http.10.apache.php b/scripts/jobs/cron_tasks.inc.http.10.apache.php index e7d329ec..ac1beaf3 100644 --- a/scripts/jobs/cron_tasks.inc.http.10.apache.php +++ b/scripts/jobs/cron_tasks.inc.http.10.apache.php @@ -341,7 +341,6 @@ class apache { if($this->settings['system']['awstats_enabled'] == '1') { - // @TODO see if this is correct for awstats $stats_text.= ' Alias /awstats "' . makeCorrectFile($domain['customerroot'] . '/awstats/' . $domain['domain']) . '"' . "\n"; } else @@ -353,7 +352,6 @@ class apache { if($this->settings['system']['awstats_enabled'] == '1') { - // @TODO see if this is correct for awstats $stats_text.= ' Alias /awstats "' . makeCorrectFile($domain['customerroot'] . '/awstats/' . $domain['parentdomain']) . '"' . "\n"; } else