From 5c15e649a1644613c4660e618bda7a8e13db711d Mon Sep 17 00:00:00 2001 From: sullrich Date: Thu, 3 Dec 2009 20:31:23 -0500 Subject: Recommit #161 changes. It appears a different commit has broken firewall rules edit and firewall nat edit. --- etc/inc/authgui.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/inc/authgui.inc') diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index 6fa3cfa..3f7c216 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -85,6 +85,7 @@ if (!isAllowedPage($_SERVER['SCRIPT_NAME'], $_SESSION['Username'])) { if (count($allowedpages) > 0) { $page = str_replace('*', '', $allowedpages[0]); $_SESSION['Post_Login'] = true; + require_once("functions.inc"); pfSenseHeader("/{$page}"); exit; } else { @@ -100,6 +101,7 @@ if (!isAllowedPage($_SERVER['SCRIPT_NAME'], $_SESSION['Username'])) { */ if (!$_SESSION['Post_Login']) { $_SESSION['Post_Login'] = true; + require_once("functions.inc"); pfSenseHeader($_SERVER['REQUEST_URI']); exit; } -- cgit v1.1