]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ErrorController.php
printing css style
[syj.git] / application / controllers / ErrorController.php
index db283ab86d48844a3983f55316c0c0a0a0ccd695..fed3945cbd7dbf89322fb1604c1278f70d0f157f 100644 (file)
@@ -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() {