summaryrefslogtreecommitdiffstats
path: root/application/controllers/IndexController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/IndexController.php')
-rw-r--r--application/controllers/IndexController.php11
1 files changed, 11 insertions, 0 deletions
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()