]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ErrorController.php
printing css style
[syj.git] / application / controllers / ErrorController.php
index 7e0301539129575891f1c6ae7c3e1e26c3d82b7a..fed3945cbd7dbf89322fb1604c1278f70d0f157f 100644 (file)
@@ -6,13 +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->_helper->SyjReset->resetPlaceHolders();
-        $this->view->headLink()->appendStylesheet('css/generic.css');
-        $this->view->headLink()->appendStylesheet('css/error.css');
+        $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
+        $this->view->headLink()->appendStylesheet('css/error.css', 'all');
     }
 
     public function errorAction() {