diff options
| author | michael pereira | 2011-04-11 14:29:29 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-11 14:29:29 +0200 |
| commit | 4d63a9525b3601dbd2e24328c1ef250ad605765d (patch) | |
| tree | 02179f65307191d7ae3997c38a5276ced038b134 /application/modules/fbgui/controllers/IndexController.php | |
| parent | kcl fix im ressource controller (diff) | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.tar.gz pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.tar.xz pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index bfd2bec..3567f70 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -55,23 +55,27 @@ class Fbgui_IndexController extends Zend_Controller_Action $pbsFilter = new Pbs_Filter(); $bootmenuID = $pbsFilter->evaluate(); if($bootmenuID != null){ - print_a('Debug Output', - 'Session is now set', - 'Your sessionID is '.$session->getID(), - 'Your alphasessionID is '.$session->getAlphasessionID(), - 'Your client is '.$session->getClientID(), - 'goto bootmenu '.$bootmenuID); + /* + print_a('Debug Output', + 'Session is now set', + 'Your sessionID is '.$session->getID(), + 'Your alphasessionID is '.$session->getAlphasessionID(), + 'Your client is '.$session->getClientID(), + 'goto bootmenu '.$bootmenuID); + */ $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); $res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),false); $this->view->entries = $res; } else{ + /* print_a('Debug Output', 'Session is now set', 'Your sessionID is '.$session->getID(), 'Your alphasessionID is '.$session->getAlphasessionID(), 'Your client is '.$session->getClientID(), 'there is no bootmenu for you'); + */ echo "<a href='/fbgui/auth/login/'>Goto Login to get a Bootmenu</a>"; } } |
