@@ -1,14 +1,16 @@
--- wwwroot/cgi-bin/awstats.pl.orig 2011-01-07 20:26:06.811019892 +0100
-+++ wwwroot/cgi-bin/awstats.pl 2011-01-07 20:35:22.948407496 +0100
-@@ -1744,6 +1744,11 @@
++++ wwwroot/cgi-bin/awstats.pl 2011-02-26 14:24:12.485518572 +0100
+@@ -1744,7 +1744,12 @@
$FileSuffix = ".$SiteConfig";
if ($Debug){debug("Opened config: $searchdir$PROG.$SiteConfig.conf", 2);}
last;
+- }else{if ($Debug){debug("Unable to open config file: $searchdir$PROG.$SiteConfig.conf", 2);}}
+ }else{if ( open( CONFIG, "<$searchdir$PROG.www.$SiteConfig.conf" ) ) {
+ $FileConfig = "$searchdir$PROG.www.$SiteConfig.conf";
+ $FileSuffix = ".www.$SiteConfig";
+ if ($Debug){debug("Opened config: $searchdir$PROG.www.$SiteConfig.conf", 2);}
+ last;
- }else{if ($Debug){debug("Unable to open config file: $searchdir$PROG.$SiteConfig.conf", 2);}}
++ }else{if ($Debug){debug("Unable to open config file: $searchdir$PROG.$SiteConfig.conf", 2);}}}
if ( open( CONFIG, "<$searchdir$PROG.conf" ) ) {
$FileConfig = "$searchdir$PROG.conf";
+ $FileSuffix = '';
|