Carsten Schoene
2014-01-04 e6abfe7cab6d4465d5b2a68854a8a4dd30c49d0a
server/lib/classes/cron.d/150-awstats.inc.php
@@ -100,7 +100,12 @@
         }
         if(!is_file($awstats_website_conf_file)) {
            $awstats_conf_file_content = 'Include "'.$awstats_conf_dir.'/awstats.conf"
            if (is_file($awstats_conf_dir."/awstats.conf")) {
                                   $include_file = $awstats_conf_dir."/awstats.conf";
            } elseif (is_file($awstats_conf_dir."/awstats.model.conf")) {
               $include_file = $awstats_conf_dir."/awstats.model.conf";
            }
            $awstats_conf_file_content = 'Include "'.$include_file.'"
        LogFile="/var/log/ispconfig/httpd/'.$domain.'/yesterday-access.log"
        SiteDomain="'.$domain.'"
        HostAliases="www.'.$domain.' localhost 127.0.0.1'.$aliasdomain.'"';