Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
server/lib/classes/cron.d/150-awstats.inc.php
@@ -50,9 +50,9 @@
    public function onRunJob() {
        global $app, $conf;
        
        #######################################################################################################
      //######################################################################################################
        // Create awstats statistics
        #######################################################################################################
      //######################################################################################################
        $sql = "SELECT domain_id, domain, document_root, web_folder, type, system_user, system_group, parent_domain_id FROM web_domain WHERE (type = 'vhost' or type = 'vhostsubdomain') and stats_type = 'awstats' AND server_id = ".$conf['server_id'];
        $records = $app->db->queryAllRecords($sql);