]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/proxygraphs.cgi
corrected speed footer not working with dhcp and static
[ipfire-2.x.git] / html / cgi-bin / proxygraphs.cgi
index 406fe9b620f0d4b5aa955ae69a981c20648a26cc..c0f5428a9de8a7ad840e74a3ddef1b003a7ee4f0 100644 (file)
@@ -1,9 +1,23 @@
 #!/usr/bin/perl
-#
-# (c) 2002 Robert Wood <rob@empathymp3.co.uk>
-#
-# $Id: proxygraphs.cgi,v 1.2.2.5 2005/02/22 22:21:56 gespinasse Exp $
-#
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
 
 use strict;
 
@@ -11,7 +25,7 @@ use strict;
 #use warnings;
 #use CGI::Carp 'fatalsToBrowser';
 
-require 'CONFIG_ROOT/general-functions.pl';
+require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
 
@@ -22,10 +36,10 @@ my @graphs=();
 
 &Header::showhttpheaders();
 
-my $dir = "/home/httpd/html/sgraph";
+my $dir = "/srv/web/ipfire/html/sgraph";
 $cgiparams{'ACTION'} = '';
 &Header::getcgihash(\%cgiparams);
-my $sgraphdir = "/home/httpd/html/sgraph";
+my $sgraphdir = "/srv/web/ipfire/html/sgraph";
 
 &Header::openpage($Lang::tr{'proxy access graphs'}, 1, '');