summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-13 08:59:57 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-13 08:59:57 -0300
commit6f3d20631db477f0ea8c86baae71e9071b45da7d (patch)
treebcf9da6cc4e767bb1a25fcd8b1883f9d80d4d1b8 /etc/inc
parent44b79ffb8d4fec4030f72621756efeba5b31cc06 (diff)
downloadpfsense-6f3d20631db477f0ea8c86baae71e9071b45da7d.zip
pfsense-6f3d20631db477f0ea8c86baae71e9071b45da7d.tar.gz
Replace Header() calls by lowercase
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/auth.inc2
-rw-r--r--etc/inc/functions.inc4
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 4a0c794..52065df 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -1444,7 +1444,7 @@ function session_auth() {
return false;
/* redirect to page the user is on, it'll prompt them to login again */
- Header("Location: {$scriptName}");
+ header("Location: {$scriptName}");
return false;
}
diff --git a/etc/inc/functions.inc b/etc/inc/functions.inc
index a86876a..a89aeff 100644
--- a/etc/inc/functions.inc
+++ b/etc/inc/functions.inc
@@ -66,7 +66,7 @@ if(!function_exists("pfSenseHeader")) {
$complete_url = "{$protocol}://{$_SERVER['SERVER_NAME']}{$port}/{$text}";
echo "\ndocument.location.href = '{$complete_url}';\n";
} else {
- Header("Location: $text");
+ header("Location: $text");
}
}
}
@@ -148,4 +148,4 @@ require_once("certs.inc");
require_once("system.inc");
require_once("vslb.inc");
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud