Commit e349000b authored by tbrehm's avatar tbrehm

Fixed: FS#1543 - Set different logformat for awstats

parent e44b8d0a
......@@ -1034,7 +1034,8 @@ class installer_base {
// Check the awsatst script
if(!is_dir('/usr/share/awstats/tools')) exec('mkdir -p /usr/share/awstats/tools');
if(!file_exists('/usr/share/awstats/tools/') && file_exists('/usr/share/doc/awstats/examples/')) symlink('/usr/share/doc/awstats/examples/','/usr/share/awstats/tools/');
if(file_exists('/etc/awstats/awstats.conf.local')) replaceLine('/etc/awstats/awstats.conf.local','LogFormat=4','LogFormat=1',0,1);
//* add a sshusers group
$command = 'groupadd sshusers';
if(!is_group('sshusers')) caselog($command.' &> /dev/null 2> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
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