diff options
| author | Simon | 2011-03-19 00:19:34 +0100 |
|---|---|---|
| committer | Simon | 2011-03-19 00:19:34 +0100 |
| commit | 12e84d26b703e490a1b8cfa3edd8d52392f42e60 (patch) | |
| tree | 093bd13ee17fc17d2d3c2a356ec335969bdee737 /application/modules | |
| parent | FilterController fertig (diff) | |
| download | pbs2-12e84d26b703e490a1b8cfa3edd8d52392f42e60.tar.gz pbs2-12e84d26b703e490a1b8cfa3edd8d52392f42e60.tar.xz pbs2-12e84d26b703e490a1b8cfa3edd8d52392f42e60.zip | |
FilterEvaluate an Session angepasst
Filter evaluate in FBGui eingebaut
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>"; |
