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() {
$error_code = 400; // Bad Request
} else if ($error->exception instanceof Syj_Exception_Forbidden) {
$error_code = 403; // Forbidden
+ } else if ($error->exception instanceof Syj_Exception_NotImplemented) {
+ $error_code = 501; // Not Implemented
} else if ($error->exception instanceof Syj_Exception_NotFound) {
$error_code = $error->exception->getCode();
}