diff options
| author | michael pereira | 2011-04-20 18:49:49 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-20 18:49:49 +0200 |
| commit | cc3660add480ac1dc217d7f853b325db7d6ec7d0 (patch) | |
| tree | 8056c87777d806c613a607c3f479ce07475b5db6 /application/controllers/IndexController.php | |
| parent | API + Fixes (diff) | |
| parent | Url für Config gekürzt (diff) | |
| download | pbs2-cc3660add480ac1dc217d7f853b325db7d6ec7d0.tar.gz pbs2-cc3660add480ac1dc217d7f853b325db7d6ec7d0.tar.xz pbs2-cc3660add480ac1dc217d7f853b325db7d6ec7d0.zip | |
merges
Diffstat (limited to 'application/controllers/IndexController.php')
| -rw-r--r-- | application/controllers/IndexController.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php index c6e6eba..5120d6f 100644 --- a/application/controllers/IndexController.php +++ b/application/controllers/IndexController.php @@ -13,31 +13,31 @@ class IndexController extends Zend_Controller_Action { - public function init() - { - /* Initialize action controller here */ - } - - public function indexAction() - { - if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI')){ - $mySession =new Zend_Session_Namespace('pbs'); - if(!isset($mySession->postdata)){ - $mySession->postdata = $_POST; + public function init() + { + /* Initialize action controller here */ + } + + public function indexAction() + { + if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI')){ + $mySession =new Zend_Session_Namespace('pbs'); + if(!isset($mySession->postdata)){ + $mySession->postdata = $_POST; } - + $d = new Pbs_Debug(); $d->debug(array('MainIndexController',$_SERVER['REMOTE_ADDR'],implode("\t",$mySession->postdata))); - - $this->_redirect("/fbgui/index/index"); - } - - // action body - - } + $this->_redirect("/fbgui/index/index"); + } + $this->_redirect("/user/auth/login"); + // action body + + + } + - } |
