]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Enhancement of configure.pl. If /etc/awstats directory does not exist. Try to create it.
authoreldy <>
Sat, 14 Feb 2004 19:51:54 +0000 (19:51 +0000)
committereldy <>
Sat, 14 Feb 2004 19:51:54 +0000 (19:51 +0000)
If /etc/awstats.model.conf not found on Linux, try to find from it in cgi-bin directory.

tools/configure.pl

index 84f798c2a59f2427ce1a2f3723ad8c627d64cdeb..ce8fdafe848b9c5aad81efc3cd385e0868fff8bd 100644 (file)
@@ -603,6 +603,7 @@ if ($bidon =~ /^y/i) {
        if (-s $configfile) { print "  Config file already exists. No overwrite possible on existing config files.\n"; }
        else {
                %ConfToChange=();
+               # TODO Ask path of log file to change LogFile parameter
                if ($OS eq 'linux' || $OS eq "macosx") { $ConfToChange{'DirData'}="$AWSTATS_DIRDATA_PATH"; }
                if ($OS eq 'windows') { $ConfToChange{'DirData'}='.'; }
                if ($UseAlias) {