Пример #1
0
 /**
  * Fetches the defined 500 path for the current route.
  *
  * @return string
  */
 public static function get500Path()
 {
     // TODO: get 500 from default route
     if (!isset(self::$current_route)) {
         throw new vB_Exception_Router('500 path requested for current route but no current route has been resolved.');
     }
     return self::$current_route->get500Path();
 }