示例#1
0
 public function display()
 {
     $this->title = 'Code syntax exception';
     $this->status = 503;
     $this->tpl = 'syntax';
     $this->text = 'Website code syntax exception: %e%';
     return parent::display();
 }
示例#2
0
 public function display()
 {
     $this->status = 404;
     $this->title = '404 Not Found';
     $this->text = 'Unable to find this URL: %e%';
     $this->tpl = 'notfound';
     return parent::display();
 }
 public function display()
 {
     $this->status = 403;
     $this->title = '403 Forbidden';
     $this->text = 'Access to this page is forbidden: %e%';
     $this->tpl = 'forbidden';
     return parent::display();
 }