]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ErrorController.php
cache js, css and png files
[syj.git] / application / controllers / ErrorController.php
index f2e1b69c51a22a6c580f476f203d3337f5bdc7dd..043b19945d898859a732fbc6e4bcc32c2114f141 100644 (file)
@@ -10,8 +10,7 @@ class ErrorController extends Zend_Controller_Action
 
     public function init() {
         $this->_helper->SyjReset->resetPlaceHolders();
-        $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
-        $this->view->headLink()->appendStylesheet('css/error.css', 'all');
+        $this->_helper->SyjMedias->addStyleSheets('error');
     }
 
     public function errorAction() {