From 5139008cee049b2ab24b870a263996fe9043adeb Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 18 Mar 2011 18:49:30 +0100 Subject: User-Oberfläche, FBGui-Oberfläche legt Session&Clients an - für Kiosk-System apache-default zum ersetzen, damit server von außen erreichbar ist FilterController weitergearbeitet --- application/modules/user/controllers/ClientController.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'application/modules/user/controllers/ClientController.php') diff --git a/application/modules/user/controllers/ClientController.php b/application/modules/user/controllers/ClientController.php index d40e1b1..4bb2b35 100644 --- a/application/modules/user/controllers/ClientController.php +++ b/application/modules/user/controllers/ClientController.php @@ -5,6 +5,10 @@ class User_ClientController extends Zend_Controller_Action private $membership; public function init() { + if($_SESSION['membershipID'] ==''){ + $pbsNotifier = new Pbs_Notifier(); + echo $pbsNotifier->notify('No membershipID set','forbidden'); + } /* Initialize action controller here */ $membershipMapper = new Application_Model_MembershipMapper(); $this->membership = new Application_Model_Membership(); -- cgit v1.2.3-55-g7522