diff options
Diffstat (limited to 'application/modules')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 11 |
1 files changed, 10 insertions, 1 deletions
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 "<h1>Welcome</h1>"; 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 "<h1>Not Welcome</h1>"; |
