public function cliAction() { $this->view->setTemplate(); $response = new Enlight_Controller_Response_ResponseCli(); $response->appendBody(strip_tags($this->View()->exception) . "\n"); $this->front->setResponse($response); }
public function errorAction() { $error = $this->Request()->getParam('error_handler'); $response = new Enlight_Controller_Response_ResponseCli(); $response->appendBody(strip_tags($error->exception) . "\n"); $this->front->setResponse($response); }