]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed: [ 1305959 ] awstats-6.5 : awstats.pl parsing conf
authoreldy <>
Sun, 9 Oct 2005 14:42:36 +0000 (14:42 +0000)
committereldy <>
Sun, 9 Oct 2005 14:42:36 +0000 (14:42 +0000)
wwwroot/cgi-bin/awstats.pl

index af98e955619f2a3526bb8a5b6e3faf4060c77832..981f2261f69ecd4efa5e28a0a63021247a0a2be5 100644 (file)
@@ -1291,7 +1291,7 @@ sub Parse_Config {
                        }
                        next;
                        }
-               if ($param =~ /^SkipReferrersBlackList/) {
+               if ($param =~ /^SkipReferrersBlackList/ && $value) {
                        open (BLACKLIST, "<$value") || die "Failed to open blacklist: $!\n";
                        while (<BLACKLIST>) {
                                chomp;