X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Ffwhits.cgi;h=861befe7c122817cf6c56d198e893b0ac02fefce;hp=40026dab3c61447ecb4b87b61cebbc99cc5d5fb0;hb=350b52c5c9368951ff2a9139817b42d0aec03ad7;hpb=e455cafe40d2dc4da2b7d0ba7c6c4678815ed74e diff --git a/html/cgi-bin/fwhits.cgi b/html/cgi-bin/fwhits.cgi old mode 100755 new mode 100644 index 40026dab3c..861befe7c1 --- a/html/cgi-bin/fwhits.cgi +++ b/html/cgi-bin/fwhits.cgi @@ -12,11 +12,17 @@ use strict; require '/var/ipfire/general-functions.pl'; require "${General::swroot}/lang.pl"; require "${General::swroot}/header.pl"; +require "${General::swroot}/graphs.pl"; my %cgiparams=(); my @cgigraphs=(); my @graphs=(); +&Graphs::updatefwhitsgraph ("day"); +&Graphs::updatefwhitsgraph ("week"); +&Graphs::updatefwhitsgraph ("month"); +&Graphs::updatefwhitsgraph ("year"); + $ENV{'QUERY_STRING'} =~ s/&//g; @cgigraphs = split(/graph=/,$ENV{'QUERY_STRING'}); $cgigraphs[1] = '' unless defined $cgigraphs[1]; @@ -24,7 +30,6 @@ $cgigraphs[1] = '' unless defined $cgigraphs[1]; &Header::showhttpheaders(); my $graphdir = "/home/httpd/html/graphs"; - my @LOCALCHECK=(); my $errormessage="";