From 797afa4c1f7c7f5862642a9d30f4eb87b6cb6757 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 01 Mar 2009 09:56:12 -0500
Subject: [PATCH] Fixed LOGIN_REDIRECT:/index.php error.
---
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