X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FErrorController.php;h=fed3945cbd7dbf89322fb1604c1278f70d0f157f;hb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;hp=db283ab86d48844a3983f55316c0c0a0a0ccd695;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/controllers/ErrorController.php b/application/controllers/ErrorController.php index db283ab..fed3945 100644 --- a/application/controllers/ErrorController.php +++ b/application/controllers/ErrorController.php @@ -6,18 +6,12 @@ class ErrorController extends Zend_Controller_Action { protected function httpError($code) { $this->getResponse()->setHttpResponseCode($code); - $this->view->message = Zend_Http_Response::responseCodeAsText($code); } public function init() { - $this->view->jslocales = null; - $this->view->headScript()->exchangeArray(array()); - $this->view->headLink()->exchangeArray(array()); - $this->view->headTitle()->exchangeArray(array()); - $this->view->headStyle()->exchangeArray(array()); - - $this->view->headLink()->appendStylesheet('css/generic.css'); - $this->view->headLink()->appendStylesheet('css/error.css'); + $this->_helper->SyjReset->resetPlaceHolders(); + $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/error.css', 'all'); } public function errorAction() {