Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
awstats
> awstats-7.0-www_SiteConfig.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File awstats-7.0-www_SiteConfig.patch of Package awstats (Revision 29)
Currently displaying revision
29
,
show latest
--- 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 @@ $FileSuffix = ".$SiteConfig"; if ($Debug){debug("Opened config: $searchdir$PROG.$SiteConfig.conf", 2);} last; + }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);}} if ( open( CONFIG, "<$searchdir$PROG.conf" ) ) { $FileConfig = "$searchdir$PROG.conf";