Esempio n. 1
0
 public static function dispatch($dispatch)
 {
     self::$dispatch = $dispatch;
 }
Esempio n. 2
0
File: App.php Progetto: GDdark/cici
 /**
  * 设置应用的路由检测机制
  * @access public
  * @param  bool $route 是否需要检测路由
  * @param  bool $must  是否强制检测路由
  * @return void
  */
 public static function route($route, $must = false)
 {
     self::$routeCheck = $route;
     self::$routeMust = $must;
 }