diff options
author | Ermal <eri@pfsense.org> | 2012-11-15 10:41:20 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-11-15 10:41:38 +0000 |
commit | eff0526e60ae5ab53730d5c469819c3e81f8498d (patch) | |
tree | fac77cefda2092299a44136880952f7021ccecf7 | |
parent | 9f40c982756e59a1751a6eeeb843270b3aeedb3c (diff) | |
download | pfsense-eff0526e60ae5ab53730d5c469819c3e81f8498d.zip pfsense-eff0526e60ae5ab53730d5c469819c3e81f8498d.tar.gz |
Not sure why this has been hidden so deep but putting that in the right place should help with error displayed related to HEADER already sent in PHP errors.log
-rw-r--r-- | etc/inc/auth.inc | 2 | ||||
-rwxr-xr-x | usr/local/www/guiconfig.inc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 6f1f46f..dc9e8aa 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -1416,6 +1416,4 @@ function session_auth() { return true; } -Header("X-Frame-Options: SAMEORIGIN"); - ?> diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 03d1d8b..de4704e 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -52,6 +52,7 @@ if (!$omit_nocacheheaders) { header("Pragma: no-cache"); } +Header("X-Frame-Options: SAMEORIGIN"); require_once("authgui.inc"); /* parse the configuration and include all configuration functions */ |