- fixed link to awstats in customer-panel (domain-overview), fixes #137

This commit is contained in:
Michael Kaufmann (d00p)
2010-04-12 05:34:34 +00:00
parent afc3ab8a8b
commit b11d0c5cd9
2 changed files with 1 additions and 3 deletions

View File

@@ -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';
}

View File

@@ -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