018949743d
* With postfix that support DSN (Delivery Status Notifications) we exclude some lines to avoid counting mails twice in maillogconvert.pl script. * Logresolvemerge.pl support FreeRADIUS logs or anything else using (the fixed length!) ctime format timestamp. * Add option stoponfirsteof in logresolvemerge tool. * Add patch to support host_proxy tag in LogFormat (for Apache LogFormat containing %{X-Forwarded-For}i) * Renamed Add to favourites on "Hit on favicon". * Increase robots, search engines database (Added Google Chrome browser, better Vista, WII, detection, ...) * Update languages files. * Added a lot of patch from sourceforge. * Bug fixes.
13 lines
510 B
Text
13 lines
510 B
Text
$NetBSD: patch-aa,v 1.9 2009/01/15 12:12:04 adam Exp $
|
|
|
|
--- wwwroot/cgi-bin/awstats.pl.orig 2008-11-30 16:42:46.000000000 +0100
|
|
+++ wwwroot/cgi-bin/awstats.pl
|
|
@@ -1627,7 +1627,7 @@ sub Read_Config {
|
|
my $configdir = shift;
|
|
my @PossibleConfigDir = ();
|
|
|
|
- if ($configdir) {
|
|
+ if ($configdir && $ENV{"AWSTATS_ENABLE_CONFIG_DIR"}) {
|
|
|
|
# If from CGI, overwriting of configdir is only possible if AWSTATS_ENABLE_CONFIG_DIR defined
|
|
#if ($ENV{'GATEWAY_INTERFACE'} && ! $ENV{"AWSTATS_ENABLE_CONFIG_DIR"})
|