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 31)
Currently displaying revision
31
,
show latest
--- wwwroot/cgi-bin/awstats.pl.orig 2011-01-07 20:26:06.811019892 +0100 +++ 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);}}} if ( open( CONFIG, "<$searchdir$PROG.conf" ) ) { $FileConfig = "$searchdir$PROG.conf"; $FileSuffix = '';