diff --git a/server/cron_daily.php b/server/cron_daily.php index 80f4158fe8ee9c0b5d4ed964097a4d6d7a83e007..be39402a186bb09727f88140083c14994ca989ba 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -146,6 +146,12 @@ if(!@is_dir($statsdir)) mkdir($statsdir); exec("$webalizer -c $webalizer_conf -n $domain -s $domain -r $domain -q -T -p -o $statsdir $logfile"); } +####################################################################################################### +// Make the web logfiles directories world readable to enable ftp access +####################################################################################################### + +exec('chmod +r /var/log/ispconfig/httpd/*'); + ####################################################################################################### // Manage and compress web logfiles #######################################################################################################