summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/IndexController.php18
1 files changed, 5 insertions, 13 deletions
diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php
index 9a65853..2972e9e 100644
--- a/application/controllers/IndexController.php
+++ b/application/controllers/IndexController.php
@@ -4,23 +4,15 @@ 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
- )
- );
-
- }
+ {
+ /* Initialize action controller here */
}
public function indexAction()
{
+ if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI')){
+ $this->_forward('index','Index','fbgui');
+ }
// action body
}