diff options
| author | Simon | 2011-04-19 15:43:00 +0200 |
|---|---|---|
| committer | Simon | 2011-04-19 15:43:00 +0200 |
| commit | c31d8e9959efade437fb0a661f6f44329cc74664 (patch) | |
| tree | 48afaad36266c251f3df4928ed18d6e09478413c /application/controllers/IndexController.php | |
| parent | AufgerÀumt und verschoben (diff) | |
| download | pbs2-c31d8e9959efade437fb0a661f6f44329cc74664.tar.gz pbs2-c31d8e9959efade437fb0a661f6f44329cc74664.tar.xz pbs2-c31d8e9959efade437fb0a661f6f44329cc74664.zip | |
Code autoformatiert
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..65ef480 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"); + } + + // action body + + + } + - } |
