Fix index.cgi autorefresh.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 19 Jan 2011 16:35:18 +0000 (17:35 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 19 Jan 2011 16:35:18 +0000 (17:35 +0100)
config/rootfiles/core/45/filelists/files
html/cgi-bin/index.cgi

index d3c27e8..46d3991 100644 (file)
@@ -1,3 +1,4 @@
 etc/system-release
 etc/issue
-srv/web/ipfire/cgi-bin/proxy.cgi
+srv/web/ipfire/cgi-bin/index.cgi
+srv/web/ipfire/cgi-bin/proxy.cgi
\ No newline at end of file
index 6a93b68..45b0fd7 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2010  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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        #
@@ -58,7 +58,7 @@ my %mainsettings = ();
 
 my $connstate = &Header::connectionstatus();
 
-       if ( -e "/var/ipfire/main/gpl-acceted" ) {
+       if ( -e "/var/ipfire/main/gpl-accepted" ) {
 if ($cgiparams{'ACTION'} eq $Lang::tr{'shutdown'} || $cgiparams{'ACTION'} eq $Lang::tr{'reboot'}) {
        $refresh = "<meta http-equiv='refresh' content='300;'>";
 } elsif ($connstate =~ /$Lang::tr{'connecting'}/ || /$Lang::tr{'connection closed'}/ ){