diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-22 00:53:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-22 00:53:09 +0000 |
commit | dd7a83098dddd96091de21bcc44cd4b920963cdb (patch) | |
tree | 74b3f90a03eb2f7001de0d906d54268766ef223c | |
parent | bafaf123c3faaeae1e6084b4518ff6acdb553178 (diff) | |
download | pfsense-dd7a83098dddd96091de21bcc44cd4b920963cdb.zip pfsense-dd7a83098dddd96091de21bcc44cd4b920963cdb.tar.gz |
Move portion to top to aide with 401
-rwxr-xr-x | usr/local/www/guiconfig.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index f6dea52..3c399ec 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -30,6 +30,10 @@ POSSIBILITY OF SUCH DAMAGE. */ +/* Include authentication routines */ +/* THIS MUST BE ABOVE ALL OTHER CODE */ +require_once("authgui.inc"); + /* make sure nothing is cached */ if (!$omit_nocacheheaders) { header("Expires: 0"); @@ -39,10 +43,6 @@ if (!$omit_nocacheheaders) { header("Pragma: no-cache"); } -/* Include authentication routines */ -/* THIS MUST BE ABOVE ALL OTHER CODE */ -require_once("authgui.inc"); - /* parse the configuration and include all configuration functions */ require_once("config.inc"); require_once("functions.inc"); |