From 961e473da17e46eb90d4f48fb6be980eec2077c6 Mon Sep 17 00:00:00 2001 From: Kent Varmedal Date: Fri, 27 Nov 2020 10:05:58 +0100 Subject: [PATCH] Run subpage generation for geoip2_city only As geoip2_country doesn't have AddHTMLGraph_geoip2_country, it should only generate subpage for geoip2_city. --- tools/awstats_buildstaticpages.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/awstats_buildstaticpages.pl b/tools/awstats_buildstaticpages.pl index e5af4d70..ad5a7de3 100755 --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -370,7 +370,7 @@ foreach my $extranum (1..@ExtraName-1) { #Add plugins foreach ( @PluginsToLoad ) { if ($_ =~ /^(geoip_[_a-z]+)\s/) { push @OutputList,'plugin_'.$1; } # Add geoip maxmind subpages - if ($_ =~ /^(geoip2_[_a-z]+)\s/) { push @OutputList,'plugin_'.$1; } # Add geoip2 maxmind subpages + if ($_ =~ /^(geoip2_city)\s/) { push @OutputList,'plugin_'.$1; } # Add geoip2 maxmind subpages } -- 2.47.2