Example #1
0
 public function error404($ignore = false)
 {
     // 404 page not found error
     header('HTTP/1.0 404 Not Found');
     if ($ignore === false) {
         main_fn::set_message('Sorry, 404 - Page not found.', 'warning');
     }
     $this->do_view('<img src="../cx/assets/images/404page.png" alt="Page not found." />');
     exit;
 }