if access is not allowed, make sure we exit after redirecting the script to the login page

This commit is contained in:
james 2007-05-10 18:59:04 +00:00
parent 55fcc1cf06
commit ec28dcfb7a

View File

@ -39,7 +39,10 @@ function auth_required($access="")
global $config;
if(!auth_has_access($access))
{
header("Location: ".$config['SFIABDIRECTORY']."/committee_login.php");
exit;
}
}
?>