aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-12 15:12:15 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-12 15:12:15 +0200
commit2b2e6fdc50e7043fa636aa111011df6bcca9825b (patch)
treecd915182569aaf040afef6cbb8422ca47a66de0e
parentacc664d1c723c270d92557ebe6bcafd66cb32833 (diff)
downloadpfsense-packages-2b2e6fdc50e7043fa636aa111011df6bcca9825b.tar.gz
pfsense-packages-2b2e6fdc50e7043fa636aa111011df6bcca9825b.tar.bz2
pfsense-packages-2b2e6fdc50e7043fa636aa111011df6bcca9825b.zip
index.php - valid XHTML
-rw-r--r--config/filemgr/index.php49
1 files changed, 41 insertions, 8 deletions
diff --git a/config/filemgr/index.php b/config/filemgr/index.php
index b511069d..156ade3d 100644
--- a/config/filemgr/index.php
+++ b/config/filemgr/index.php
@@ -1,11 +1,44 @@
-<html>
-<head>
-<SCRIPT type="text/javascript">
-//<![CDATA[
-window.parent.location="../../index.php";
-//]]>
-</SCRIPT>
-</head>
+<?php
+/*
+ index.php
+ part of pfSense (https://www.pfSense.org/)
+ Copyright (C) 2010 Tom Schaefer <tom@tomschaefer.org>
+ Copyright (C) 2015 ESF, LLC
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+*/
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Redirect</title>
+ <script type="text/javascript">
+ //<![CDATA[
+ window.parent.location="../../index.php";
+ //]]>
+ </script>
+</head>
+<body>
+</body>
</html>