From 797afa4c1f7c7f5862642a9d30f4eb87b6cb6757 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Sun, 1 Mar 2009 14:56:12 +0000 Subject: [PATCH] Fixed LOGIN_REDIRECT:/index.php error. --- interface/lib/classes/auth.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/lib/classes/auth.inc.php b/interface/lib/classes/auth.inc.php index 437862af34..707aab4b05 100644 --- a/interface/lib/classes/auth.inc.php +++ b/interface/lib/classes/auth.inc.php @@ -94,8 +94,8 @@ class auth { public function check_module_permissions($module) { // Check if the current user has the permissions to access this module if(!stristr($_SESSION["s"]["user"]["modules"],$module)) { - echo "LOGIN_REDIRECT:/index.php"; - //header("Location: ../index.php"); + // echo "LOGIN_REDIRECT:/index.php"; + header("Location: /index.php"); exit; } } -- GitLab