public function indexAction()
    {

        header("HTTP/1.0 404 Not Found");

        $data['title'] = '404';
        $data['error'] = $this->_error;

        $this->view->render('error/404', $data);
    }
public function indexAction()
    {

        header("HTTP/1.0 404 Not Found");

        $data['title'] = '404';
        $data['error'] = $this->_error;

        $this->view->render('error/404', $data);
    }
public function indexAction ( ) { header ( "HTTP/1.0 404 Not Found" ) ; $ data [ 'title' ] = '404' ; $ data [ 'error' ] = $ this -> _error ; $ this -> view -> render ( 'error/404' , $ data ) ; }
404 page Action
load a 404 page with the error message
404 page Action load a 404 page with the error message