From: eldy <> Date: Sun, 5 May 2002 02:42:42 +0000 (+0000) Subject: New feature: Added session length. X-Git-Tag: AWSTATS_4_1_BETA~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=643ec992384468d16bbe9e21601e915be285d51b;p=thirdparty%2FAWStats.git New feature: Added session length. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index d580919f..455533ce 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1887,7 +1887,7 @@ sub Save_History_File { } } else { - print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes\n"; + print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes $_hostmachine_l{$key}\n"; } } foreach my $key (keys %_hostmachine_h) { @@ -1909,7 +1909,7 @@ sub Save_History_File { } } else { - print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes\n"; + print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes $_hostmachine_l{$key}\n"; } } print HISTORYTMP "END_VISITOR\n"; @@ -4579,7 +4579,7 @@ EOF $count++; } if ($TotalVisits > $total_s) { - print "$Message[0]".($TotalVisits-$total_s)."\n"; + print "$Message[0]".($TotalVisits-$total_s)."\n"; } &tab_end; }