Skip to content

Commit 1460ae7

Browse files
author
Till Brehm
committed
Merge branch 'webalizer_exec' into 'stable-3.1'
Webalizer exec See merge request ispconfig/ispconfig3!1086
2 parents 1f4096f + bb995db commit 1460ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/lib/classes/cron.d/150-webalizer.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ function setConfigVar( $filename, $varName, $varValue, $append = 0 ) {
127127
chown($statsdir, $username);
128128
chgrp($statsdir, $groupname);
129129
$app->system->exec_safe("$webalizer -c ? -n ? -s ? -r ? -q -T -p -o ? ?", $webalizer_conf, $domain, $domain, $domain, $statsdir, $logfile);
130-
131-
exec('chown -R ?:? ?', $username, $groupname, $statsdir);
130+
131+
$app->system->exec_safe('chown -R ?:? ?', $username, $groupname, $statsdir);
132132
}
133133

134134

0 commit comments

Comments
 (0)