예제 #1
0
파일: router.php 프로젝트: Kheros/MMOver
 /**
  * Fetches the defined 403 path for the current route.
  *
  * @return string
  */
 public static function get403Path()
 {
     // TODO: get 403 from default route
     if (!isset(self::$current_route)) {
         throw new vB_Exception_Router('403 path requested for current route but no current route has been resolved.');
     }
     return self::$current_route->get403Path();
 }