Commit dae3b41f authored by tbrehm's avatar tbrehm

Fixed a warning in cron log on non web servers.

parent 4eb8d2a0
......@@ -257,7 +257,7 @@ HostAliases="www.'.$domain.' localhost 127.0.0.1'.$aliasdomain.'"';
// Make the web logfiles directories world readable to enable ftp access
#######################################################################################################
exec('chmod +r /var/log/ispconfig/httpd/*');
if(is_dir('/var/log/ispconfig/httpd')) exec('chmod +r /var/log/ispconfig/httpd/*');
#######################################################################################################
// Manage and compress web logfiles and create traffic statistics
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment