]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fix: #909 awstats_buildstaticpages.pl noisy debug output.
authorLaurent Destailleur <eldy@destailleur.fr>
Sun, 30 Mar 2014 15:19:30 +0000 (17:19 +0200)
committerLaurent Destailleur <eldy@destailleur.fr>
Sun, 30 Mar 2014 15:19:30 +0000 (17:19 +0200)
docs/awstats_changelog.txt
tools/awstats_buildstaticpages.pl

index ec7e34e4c205e891700e4cb5d422915f8d043765..820dcc874496c7abe35ab40e227937296162c20d 100644 (file)
@@ -16,6 +16,7 @@ Fixes:
 - Add debian patch 0007_russian_lang.patch.
 - Add debian patch 2001_awstatsprog_path.patch.
 - #921 Failure in the help text for geoip_generator.pl
+- #909 awstats_buildstaticpages.pl noisy debug output.
 
 
 ***** 7.3 *****
index a50ce8da7b82aa7120b5d634ec322e155c297382..8abd89b9e35714871eac675bfec6dcee52e3416c 100755 (executable)
@@ -225,7 +225,7 @@ sub Parse_Config {
                if ( $param =~ /^LoadPlugin/ ) { push @PluginsToLoad, $value; next; }
 
                # If parameters was not found previously, defined variable with name of param to value
-               print $param."-".$value."\n";
+               if ($Debug) { debug($param."-".$value); }
                $$param=$value;
        }