blob: efa29cc3b6454b5a9097e29ef266d58c9793c8d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.7 2006/06/05 18:04:26 minskim Exp $
--- wwwroot/cgi-bin/awstats.pl.orig 2006-06-05 00:22:30.000000000 -0700
+++ wwwroot/cgi-bin/awstats.pl
@@ -1131,7 +1131,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"})
|