tbrehm
2011-03-08 e349000bbb46bdfea1a093bbd4a8941a1584cf06
Fixed: FS#1543 - Set different logformat for awstats
1 files modified
1 ■■■■ changed files
install/lib/installer_base.lib.php 1 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -1034,6 +1034,7 @@
        // 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/awstats_buildstaticpages.pl') && file_exists('/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl')) symlink('/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl','/usr/share/awstats/tools/awstats_buildstaticpages.pl');
        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';