From c31d8e9959efade437fb0a661f6f44329cc74664 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 19 Apr 2011 15:43:00 +0200 Subject: Code autoformatiert --- application/controllers/IndexController.php | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'application/controllers/IndexController.php') 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 + + + } + - } -- cgit v1.2.3-55-g7522