summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/crash_reporter.php2
-rw-r--r--usr/local/www/firewall_rules.php2
-rw-r--r--usr/local/www/getserviceproviders.php2
-rw-r--r--usr/local/www/guiconfig.inc2
-rw-r--r--usr/local/www/installer/index.php4
-rw-r--r--usr/local/www/installer/installer.php4
-rw-r--r--usr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/pkg.php2
-rw-r--r--usr/local/www/pkg_edit.php2
-rw-r--r--usr/local/www/services_dhcp.php2
-rw-r--r--usr/local/www/services_dhcp_edit.php2
-rw-r--r--usr/local/www/services_dhcpv6.php2
-rw-r--r--usr/local/www/services_dhcpv6_edit.php2
-rw-r--r--usr/local/www/services_router_advertisements.php2
-rw-r--r--usr/local/www/status_captiveportal.php2
-rw-r--r--usr/local/www/status_graph.php2
-rw-r--r--usr/local/www/widgets/widgets/log.widget.php2
-rw-r--r--usr/local/www/widgets/widgets/picture.widget.php2
-rw-r--r--usr/local/www/widgets/widgets/rss.widget.php2
-rw-r--r--usr/local/www/wizards/setup_wizard.xml4
20 files changed, 23 insertions, 23 deletions
diff --git a/usr/local/www/crash_reporter.php b/usr/local/www/crash_reporter.php
index c0a20a4..1b3d40b 100644
--- a/usr/local/www/crash_reporter.php
+++ b/usr/local/www/crash_reporter.php
@@ -123,7 +123,7 @@ exec("/usr/bin/grep -vi warning /tmp/PHP_errors.log", $php_errors);
array_map('unlink', glob("/var/crash/*"));
// Erase the contents of the PHP error log
fclose(fopen("/tmp/PHP_errors.log", 'w'));
- Header("Location: /");
+ header("Location: /");
exit;
} else {
$crash_files = glob("/var/crash/*");
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 01be3f6..1c3b2cd 100644
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -118,7 +118,7 @@ if($_REQUEST['dragdroporder']) {
}
foreach($undo as $dt)
$undotxt .= "&dragtable[]={$dt}";
- Header("Location: firewall_rules.php?if=" . $_REQUEST['if'] . "&undodrag=true" . $undotxt);
+ header("Location: firewall_rules.php?if=" . $_REQUEST['if'] . "&undodrag=true" . $undotxt);
exit;
}
diff --git a/usr/local/www/getserviceproviders.php b/usr/local/www/getserviceproviders.php
index 0fbd9fb..9171377 100644
--- a/usr/local/www/getserviceproviders.php
+++ b/usr/local/www/getserviceproviders.php
@@ -74,7 +74,7 @@ function providers_list($country) {
}
function provider_plan_data($country,$provider,$connection) {
- Header("Content-type: application/xml;");
+ header("Content-type: application/xml;");
echo "<?xml version=\"1.0\" ?>\n";
echo "<connection>\n";
$serviceproviders = get_country_providers($country);
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 30cb1ac..67db313 100644
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -52,7 +52,7 @@ if (!$omit_nocacheheaders) {
header("Pragma: no-cache");
}
-Header("X-Frame-Options: SAMEORIGIN");
+header("X-Frame-Options: SAMEORIGIN");
require_once("authgui.inc");
/* parse the configuration and include all configuration functions */
diff --git a/usr/local/www/installer/index.php b/usr/local/www/installer/index.php
index 2c7dd90..9c97c41 100644
--- a/usr/local/www/installer/index.php
+++ b/usr/local/www/installer/index.php
@@ -1,5 +1,5 @@
<?php
-Header("Location: installer.php");
+header("Location: installer.php");
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php
index b5079c5..985b5f3 100644
--- a/usr/local/www/installer/installer.php
+++ b/usr/local/www/installer/installer.php
@@ -35,7 +35,7 @@ require("guiconfig.inc");
define('PC_SYSINSTALL', '/usr/sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh');
if($g['platform'] == "pfSense" or $g['platform'] == "nanobsd") {
- Header("Location: /");
+ header("Location: /");
exit;
}
@@ -94,7 +94,7 @@ function easy_install($fstype = "UFS+S") {
$bootmanager = "bsd";
file_put_contents("/tmp/webInstaller_disk_layout.txt", serialize($disk_setup));
file_put_contents("/tmp/webInstaller_disk_bootmanager.txt", serialize($bootmanager));
- Header("Location: installer.php?state=verify_before_install");
+ header("Location: installer.php?state=verify_before_install");
exit;
}
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 876d30f..127486a 100644
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -62,7 +62,7 @@ if ($_REQUEST['if'])
$if = $_REQUEST['if'];
if (empty($ifdescrs[$if])) {
- Header("Location: interfaces.php");
+ header("Location: interfaces.php");
exit;
}
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php
index afa764a..f552f32 100755
--- a/usr/local/www/pkg.php
+++ b/usr/local/www/pkg.php
@@ -64,7 +64,7 @@ if($xml == "") {
}
if($pkg['donotsave'] <> "") {
- Header("Location: pkg_edit.php?xml=" . $xml);
+ header("Location: pkg_edit.php?xml=" . $xml);
exit;
}
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index d9544ed..792ac43 100644
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -98,7 +98,7 @@ if(!$id && !$_POST)
$id = "0";
if(!is_numeric($id)) {
- Header("Location: /");
+ header("Location: /");
exit;
}
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 1da9222..d8f0aa5 100644
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -44,7 +44,7 @@ require("guiconfig.inc");
require_once("filter.inc");
if(!$g['services_dhcp_server_enable']) {
- Header("Location: /");
+ header("Location: /");
exit;
}
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 5a41fcf..3213db5 100644
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -53,7 +53,7 @@ function staticmaps_sort($ifgui) {
require_once('globals.inc');
if(!$g['services_dhcp_server_enable']) {
- Header("Location: /");
+ header("Location: /");
exit;
}
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php
index d312f6d..7f56a6c 100644
--- a/usr/local/www/services_dhcpv6.php
+++ b/usr/local/www/services_dhcpv6.php
@@ -48,7 +48,7 @@ require("guiconfig.inc");
require_once("filter.inc");
if(!$g['services_dhcp_server_enable']) {
- Header("Location: /");
+ header("Location: /");
exit;
}
diff --git a/usr/local/www/services_dhcpv6_edit.php b/usr/local/www/services_dhcpv6_edit.php
index b189bd1..a13aa37 100644
--- a/usr/local/www/services_dhcpv6_edit.php
+++ b/usr/local/www/services_dhcpv6_edit.php
@@ -54,7 +54,7 @@ function staticmaps_sort($ifgui) {
require_once('globals.inc');
if(!$g['services_dhcp_server_enable']) {
- Header("Location: /");
+ header("Location: /");
exit;
}
diff --git a/usr/local/www/services_router_advertisements.php b/usr/local/www/services_router_advertisements.php
index e7d33bd..6686052 100644
--- a/usr/local/www/services_router_advertisements.php
+++ b/usr/local/www/services_router_advertisements.php
@@ -47,7 +47,7 @@
require("guiconfig.inc");
if(!$g['services_dhcp_server_enable']) {
- Header("Location: /");
+ header("Location: /");
exit;
}
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 918f6dc..68e0d13 100644
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -51,7 +51,7 @@ if (isset($_POST['zone']))
if ($_GET['act'] == "del" && !empty($cpzone)) {
captiveportal_disconnect_client($_GET['id']);
- Header("Location: status_captiveportal.php?zone={$cpzone}");
+ header("Location: status_captiveportal.php?zone={$cpzone}");
exit;
}
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index ada2fe1..1ee1251 100644
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -79,7 +79,7 @@ if ($_GET['if']) {
}
}
if ($found === false) {
- Header("Location: status_graph.php");
+ header("Location: status_graph.php");
exit;
}
} else {
diff --git a/usr/local/www/widgets/widgets/log.widget.php b/usr/local/www/widgets/widgets/log.widget.php
index d2811fd..18539b9 100644
--- a/usr/local/www/widgets/widgets/log.widget.php
+++ b/usr/local/www/widgets/widgets/log.widget.php
@@ -66,7 +66,7 @@ if($_POST['filterlogentries']) {
echo "<meta http-equiv=\"refresh\" content=\"0;url=" . $filename . "\" />\n";
echo "</noscript>\n";
}
- Header("Location: /");
+ header("Location: /");
}
$nentries = isset($config['widgets']['filterlogentries']) ? $config['widgets']['filterlogentries'] : 5;
diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php
index b776501..d986df1 100644
--- a/usr/local/www/widgets/widgets/picture.widget.php
+++ b/usr/local/www/widgets/widgets/picture.widget.php
@@ -61,7 +61,7 @@ if($_POST) {
$config['widgets']['picturewidget'] = base64_encode($data);
$config['widgets']['picturewidget_filename'] = $_FILES['pictfile']['name'];
write_config("Picture widget saved via Dashboard.");
- Header("Location: /index.php");
+ header("Location: /index.php");
exit;
}
}
diff --git a/usr/local/www/widgets/widgets/rss.widget.php b/usr/local/www/widgets/widgets/rss.widget.php
index a149907..03cb01e 100644
--- a/usr/local/www/widgets/widgets/rss.widget.php
+++ b/usr/local/www/widgets/widgets/rss.widget.php
@@ -38,7 +38,7 @@ if($_POST['rssfeed']) {
$config['widgets']['rsswidgetheight'] = $_POST['rsswidgetheight'];
$config['widgets']['rsswidgettextlength'] = $_POST['rsswidgettextlength'];
write_config("Saved RSS Widget feed via Dashboard");
- Header("Location: /");
+ header("Location: /");
}
// Use saved feed and max items
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 46aa7b7..e69dbaf 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -483,7 +483,7 @@
$config['interfaces']['wan']['ipaddr'] = $_POST['selectedtype'];
write_config();
if(!$config['interfaces']['lan'])
- Header("Location: /wizard.php?xml=setup_wizard.xml&stepid=5&next=Next");
+ header("Location: /wizard.php?xml=setup_wizard.xml&stepid=5&next=Next");
}
]]>
</stepsubmitbeforesave>
@@ -631,7 +631,7 @@
<stepbeforeformdisplay>
<![CDATA[
if($g['product_name'] <> 'pfSense') {
- Header("Location: " . fixup_string("\$myurl"));
+ header("Location: " . fixup_string("\$myurl"));
exit;
}
]]>
OpenPOWER on IntegriCloud