public function shutdownAction() { X_Env::debug(__METHOD__); $this->vlc->forceKill(); if (strpos($_SERVER['HTTP_USER_AGENT'], 'WiiMC') !== false) { // wiimc 1.0.5 e inferiori nn accetta redirect $this->_forward('index', 'index'); } else { $isAjax = $this->getRequest()->getParam('ajax', false); if ($isAjax) { $this->_forward('status'); } else { $redirector = Zend_Controller_Action_HelperBroker::getStaticHelper('redirector'); $redirector->gotoSimpleAndExit('control'); } } }