From bccb874a45a1bccaeecd2b5bd7f3249e073116f0 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 17 Oct 2009 06:32:45 -0400
Subject: [PATCH] Changed apache_ispconfig.conf.master template to allow access to phpmyadmin and squirrelmail in debian.
---
interface/web/designer/module_nav_edit.php | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/interface/web/designer/module_nav_edit.php b/interface/web/designer/module_nav_edit.php
index 27fbb78..73c010e 100644
--- a/interface/web/designer/module_nav_edit.php
+++ b/interface/web/designer/module_nav_edit.php
@@ -36,10 +36,7 @@
}
//* Check permissions for module
-if(!stristr($_SESSION['s']['user']['modules'],$_SESSION['s']['module']['name'])) {
- header('Location: ../index.php');
- exit;
-}
+$app->auth->check_module_permissions('designer');
//* Load template
$app->uses('tpl');
--
Gitblit v1.9.1