- fixed link to awstats in customer-panel (domain-overview), fixes #137
This commit is contained in:
@@ -126,7 +126,7 @@ elseif($page == 'domains')
|
|||||||
{
|
{
|
||||||
$row = htmlentities_array($domain_array[$sortkey]);
|
$row = htmlentities_array($domain_array[$sortkey]);
|
||||||
if($settings['system']['awstats_enabled'] == '1') {
|
if($settings['system']['awstats_enabled'] == '1') {
|
||||||
$statsapp = 'awstats/'.$row['domain'].'/';
|
$statsapp = 'awstats';
|
||||||
} else {
|
} else {
|
||||||
$statsapp = 'webalizer';
|
$statsapp = 'webalizer';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -341,7 +341,6 @@ class apache
|
|||||||
{
|
{
|
||||||
if($this->settings['system']['awstats_enabled'] == '1')
|
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";
|
$stats_text.= ' Alias /awstats "' . makeCorrectFile($domain['customerroot'] . '/awstats/' . $domain['domain']) . '"' . "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -353,7 +352,6 @@ class apache
|
|||||||
{
|
{
|
||||||
if($this->settings['system']['awstats_enabled'] == '1')
|
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";
|
$stats_text.= ' Alias /awstats "' . makeCorrectFile($domain['customerroot'] . '/awstats/' . $domain['parentdomain']) . '"' . "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user