From ec28dcfb7ab9c5ce8f925694949806be5e8f3f95 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 10 May 2007 18:59:04 +0000 Subject: [PATCH] if access is not allowed, make sure we exit after redirecting the script to the login page --- committee_auth.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/committee_auth.php b/committee_auth.php index d07ea55..c152070 100644 --- a/committee_auth.php +++ b/committee_auth.php @@ -39,7 +39,10 @@ function auth_required($access="") global $config; if(!auth_has_access($access)) + { header("Location: ".$config['SFIABDIRECTORY']."/committee_login.php"); + exit; + } } ?>