Jump to content
Froxlor Forum
  • 0

Awstats-icon problem with update to 0.9.14


ServiusHack

Question

Hi Froxlor Team,

 

I've been testing several tools like Froxlor and finally decided to use Froxlor.

 

As there are some features I miss in Froxlor I want to dig into Froxlor and help with the development.

 

When I updated to 0.9.14 I noticed that the icons in awstats are not shown anymore. Looking through the code the problem seems to be in the getStats() method in scripts/jobs/cron_tasks.inc.http.10.apache.php. In my case line 495 is relevant as it checks if $domain['customerroot'] has a different value than $domain['customerroot'] and only then the alias for the stats is inserted.

 

The values for both keys come directly from the database around line 800. Printing out the $domain variable shows both keys with the exact same value in all cases. And isn't that default for the document root, to always be the one set for that customer? So in that case the alias will never be set, as in my case.

 

What is the reason for comparing the documentroot of the customer with the one for the domain and only setting the alias if they differ?

 

Best Regards,

Severin Leonhardt

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...