From b94726392eb39dcad9c83d4732f717db90fe6f34 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 05 Mar 2009 11:16:54 -0500 Subject: [PATCH] disable some fields in edit mode. --- interface/lib/classes/auth.inc.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/lib/classes/auth.inc.php b/interface/lib/classes/auth.inc.php index 437862a..707aab4 100644 --- a/interface/lib/classes/auth.inc.php +++ b/interface/lib/classes/auth.inc.php @@ -94,8 +94,8 @@ 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; } } -- Gitblit v1.9.1