- chown awstats/webalizer directory after traffic-cron, fixes #258

This commit is contained in:
Michael Kaufmann (d00p)
2010-06-08 05:51:23 +00:00
parent 10cfdb137a
commit f2a4c52110
2 changed files with 36 additions and 0 deletions

View File

@@ -174,6 +174,8 @@ while($row = $db->fetch_array($result))
$httptraffic+= floatval(callWebalizerGetTraffic($row['loginname'] . '-' . $domain, $row['documentroot'] . '/webalizer/' . $domain . '/', $domain, $domainlist[$row['customerid']]));
}
}
// make the stuff readable for the customer, #258
makeChownWithNewStats($row);
}
reset($domainlist[$row['customerid']]);