From 5139008cee049b2ab24b870a263996fe9043adeb Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 18 Mar 2011 18:49:30 +0100 Subject: User-Oberfläche, FBGui-Oberfläche legt Session&Clients an - für Kiosk-System apache-default zum ersetzen, damit server von außen erreichbar ist FilterController weitergearbeitet --- application/controllers/IndexController.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'application/controllers/IndexController.php') diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php index df2f91c..9a65853 100644 --- a/application/controllers/IndexController.php +++ b/application/controllers/IndexController.php @@ -6,6 +6,17 @@ class IndexController extends Zend_Controller_Action public function init() { /* Initialize action controller here */ + if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI')){ + $redirector = $this->_helper->getHelper('Redirector'); + $redirector->gotoSimple('index', + 'Index', + 'fbgui', + array('keys' => array_keys($_POST), + 'post' => $_POST + ) + ); + + } } public function indexAction() -- cgit v1.2.3-55-g7522