]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed not working timezone plugin with 5.7.
authoreldy <>
Sat, 6 Sep 2003 19:26:30 +0000 (19:26 +0000)
committereldy <>
Sat, 6 Sep 2003 19:26:30 +0000 (19:26 +0000)
docs/awstats_changelog.txt
wwwroot/cgi-bin/awstats.pl

index 4c348e8c1f6eb2c0cb1a3b1897aba003ba8438fe..5d0a7d047d887bbbc1b66a76096340b104badc13 100644 (file)
@@ -14,6 +14,7 @@ Fixes:
   When a mail is sent to 2 different receivers, report 2 records instead of 1.\r
   When a forward is active, report the original receiver, not the
   "forwarded to".
+- Fixed not working timezone plugin with 5.7.
 
 New features/improvements:
 - Added %lognamequot tag for LogFormat parameter.\r
index 59321f60a288d4c543b7d55f6505fcf02e122fe4..e2b32119ca0e7ebaadc9ba3e3219afffcdd0eb61 100644 (file)
@@ -1700,7 +1700,7 @@ sub Read_Plugins {
        # Other possible directories :                  "./plugins"
        my @PossiblePluginsDir=("${DIR}plugins","./plugins","/usr/local/awstats/wwwroot/cgi-bin/plugins","/usr/share/awstats/plugins");
 
-       if ($Debug) { debug("Call to Read_Plugins with list: @PluginsToLoad"); }
+       if ($Debug) { debug("Call to Read_Plugins with list: ".join(',',@PluginsToLoad)); }
        foreach my $plugininfo (@PluginsToLoad) {
                if ($NoLoadPlugin{$plugininfo}) {
                        if ($Debug) { debug(" Plugin load for '$plugininfo' has been disabled from command line"); }
@@ -1714,7 +1714,7 @@ sub Read_Plugins {
                if ($pluginname) {
                        if (! $PluginsLoaded{'init'}{"$pluginname"}) {          # Plugin not already loaded
                                my %pluginisfor=('tooltips'=>'o','ipv6'=>'u','hashfiles'=>'u','geoip'=>'u',
-                               'geoipfree'=>'u','hostinfo'=>'o','userinfo'=>'o','urlalias'=>'o','timehires'=>'u','timezone'=>'o');
+                               'geoipfree'=>'u','hostinfo'=>'o','userinfo'=>'o','urlalias'=>'o','timehires'=>'u','timezone'=>'ou');
                                if ($pluginisfor{$pluginname}) {
                                        # Do not load "update plugins" if output only
                                        if (! $UpdateStats && scalar keys %HTMLOutput && $pluginisfor{$pluginname} !~ /o/) { $PluginsLoaded{'init'}{"$pluginname"}=1; next; }