From e5316b8a93bdc1f9bab0604a9558d2bff5e9f58f Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Thu, 25 Oct 2012 09:25:36 -0400
Subject: [PATCH] Fixed: APS Installing now works in vhost subdomains Fixed: domain select box of aps installer is now in place Updated: some debug log messages should be warnings

---
 interface/web/help/support_message_del.php |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/interface/web/help/support_message_del.php b/interface/web/help/support_message_del.php
index 721197c..63c23a0 100644
--- a/interface/web/help/support_message_del.php
+++ b/interface/web/help/support_message_del.php
@@ -38,11 +38,8 @@
 require_once('../../lib/config.inc.php');
 require_once('../../lib/app.inc.php');
 
-// Check module permissions
-if(!stristr($_SESSION['s']['user']['modules'], 'help')) {
-	header('Location: ../index.php');
-	exit;
-}
+//* Check permissions for module
+$app->auth->check_module_permissions('help');
 
 //* Load the form
 $app->uses('tform_actions');

--
Gitblit v1.9.1