From: Kent Varmedal Date: Fri, 27 Nov 2020 07:58:11 +0000 (+0100) Subject: Build static page for geoip2 package X-Git-Tag: AWSTATS_7_9~9^2~3^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c755254c2258ea0f6a0a129d0398906e9561d75;p=thirdparty%2FAWStats.git Build static page for geoip2 package When building static pages the subpage for geoip2 plugin was not created. This change adds the plugin to the Output List if the plugin is loaded. --- diff --git a/tools/awstats_buildstaticpages.pl b/tools/awstats_buildstaticpages.pl index 3ca62b25..e5af4d70 100755 --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -370,6 +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 }