Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
awstats
> awstats-6.8-www_SiteConfig.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File awstats-6.8-www_SiteConfig.patch of Package awstats
--- wwwroot/cgi-bin/awstats.pl.orig 2008-11-15 20:44:33.000000000 +0100 +++ wwwroot/cgi-bin/awstats.pl 2008-11-15 20:49:01.000000000 +0100 @@ -1173,6 +1173,7 @@ my $searchdir=$_; if ($searchdir && $searchdir !~ /[\\\/]$/) { $searchdir .= "/"; } if (open(CONFIG,"<$searchdir$PROG.$SiteConfig.conf")) { $FileConfig="$searchdir$PROG.$SiteConfig.conf"; $FileSuffix=".$SiteConfig"; last; } + if (open(CONFIG,"<$searchdir$PROG.www.$SiteConfig.conf")) { $FileConfig="$searchdir$PROG.www.$SiteConfig.conf"; $FileSuffix=".www.$SiteConfig"; last; } if (open(CONFIG,"<$searchdir$PROG.conf")) { $FileConfig="$searchdir$PROG.conf"; $FileSuffix=''; last; } } if (! $FileConfig) { error("Couldn't open config file \"$PROG.$SiteConfig.conf\" nor \"$PROG.conf\" after searching in path \"".join(',',@PossibleConfigDir)."\": $!"); }