From 12e84d26b703e490a1b8cfa3edd8d52392f42e60 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 18 Mar 2011 16:19:34 -0700 Subject: FilterEvaluate an Session angepasst Filter evaluate in FBGui eingebaut --- application/modules/fbgui/controllers/IndexController.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'application/modules/fbgui') diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index 238edb7..5a99feb 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -40,7 +40,16 @@ class Fbgui_IndexController extends Zend_Controller_Action $_SESSION['alphasessionID'] = $session->getAlphasessionID(); echo "

Welcome

"; print_a('Session is now set','Your alphasessionID is '.$session->getAlphasessionID()); - $this->_redirect('/dev/bootmenu/index/bootmenuid/1'); + + // Request Bootmenu + $pbsFilter = new Pbs_Filter(); + $bootmenuID = $pbsFilter->evaluate(); + if($bootmenuID != null){ + $this->_redirect('/dev/bootmenu/index/bootmenuid/'.$bootmenuID); + } + else{ + $this->_redirect('/dev/auth/index/'); + } } else{ echo "

Not Welcome

"; -- cgit v1.2.3-55-g7522