示例#1
0
 /**
  * Error
  *
  * Display an error page if there's no controller
  * that corresponds with the current url.
  */
 private static function error()
 {
     $error = self::$url[0] == '500' ? '500' : '404';
     self::$controller = new Controllers\Error();
     self::$controller->index($error);
     exit;
 }