I apologize that I didn't found any solution even after very hard searching - maybe it has been answered before, but seriously I couldn't find an answer.
The question is very simple: I don't want to use webalizer and awstats. I was crawling through the scripts but nowhere I could find the appropriate line.
Not Everytime the cronjob runs, but I suppose everytime something adds/changes, the webalizer folder will be created unter every user's domain folder.
I just found * TYPE=2 MEANS TO CREATE A NEW HOME AND CHOWN
and changed the 2 mkdir lines following:
if(is_array($row['data']))
{
$cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: mkdir -p ' . escapeshellarg($settings['system']['documentroot_prefix'] . $row['data']['loginname']));
safe_exec('mkdir -p ' . escapeshellarg($settings['system']['documentroot_prefix'] . $row['data']['loginname']));
//check if admin of customer has added template for new customer directories
$destdir = makeCorrectDir($settings['system']['documentroot_prefix'] . '/' . $row['data']['loginname']);
storeDefaultIndex($row['data']['loginname'], $destdir, $cronlog, true);
but that wasn't everything ...
the awstats folder is not been created anymore, but still webalizer ...
Question
roothahn
Hello,
I apologize that I didn't found any solution even after very hard searching - maybe it has been answered before, but seriously I couldn't find an answer.
The question is very simple: I don't want to use webalizer and awstats. I was crawling through the scripts but nowhere I could find the appropriate line.
Not Everytime the cronjob runs, but I suppose everytime something adds/changes, the webalizer folder will be created unter every user's domain folder.
I just found * TYPE=2 MEANS TO CREATE A NEW HOME AND CHOWN
and changed the 2 mkdir lines following:
but that wasn't everything ...
the awstats folder is not been created anymore, but still webalizer ...
please help :-)
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.