]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Added info of config and log file name when update ran from command line.
authoreldy <>
Mon, 21 Oct 2002 13:38:31 +0000 (13:38 +0000)
committereldy <>
Mon, 21 Oct 2002 13:38:31 +0000 (13:38 +0000)
wwwroot/cgi-bin/awstats.pl

index 8524a45f092319e91500b5bf80dc11c9e6ee0a72..638837347a700aa97c73e67c2a18a51e452e6774 100644 (file)
@@ -4437,7 +4437,10 @@ if ($Debug) {
 if ($Debug) { debug("UpdateStats is $UpdateStats",2); }
 if ($UpdateStats && $FrameName ne "index" && $FrameName ne "mainleft") {       # Update only on index page or when not framed to avoid update twice
 
-       print "Update for config '$FileConfig'\nWith data in log file '$LogFile'...\n";
+       if (! $HTMLOutput) {
+               print "Update for config '$FileConfig'\n";
+               print "With data in log file '$LogFile'...\n";
+       }
 
        my $lastprocessedyear=$lastyearbeforeupdate;
        my $lastprocessedmonth=$ListOfYears{$lastyearbeforeupdate}||0;