- found a better place to run the chowning, refs #258

This commit is contained in:
Michael Kaufmann (d00p)
2010-06-08 05:53:07 +00:00
parent f2a4c52110
commit 470fb9a02a

View File

@@ -173,9 +173,7 @@ 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']]);
@@ -193,6 +191,9 @@ while($row = $db->fetch_array($result))
{
$httptraffic+= floatval(callWebalizerGetTraffic($row['loginname'], $row['documentroot'] . '/webalizer/', $caption, $domainlist[$row['customerid']]));
}
// make the stuff readable for the customer, #258
makeChownWithNewStats($row);
}
/**