]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 d3c27e8a1cfebe2dee8e8c67ed68185b59e305a1..46d3991053a30225553ba6d2ded7fa0449a2ad7f 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 6a93b68375ea47d99206054bbd22975b2e335a4b..45b0fd74c86f6c3a0c0b358874e24a47b428a7ad 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'}/ ){