增加app_dispatch钩子位置

This commit is contained in:
yunwuxin
2017-11-10 16:00:46 +08:00
parent 0fb51680e8
commit c3c57d126a

View File

@@ -100,6 +100,9 @@ class App
APP_PATH . 'lang' . DS . $request->langset() . EXT,
]);
// 监听app_dispatch
Hook::listen('app_dispatch');
// 获取应用调度信息
$dispatch = self::$dispatch;
if (empty($dispatch)) {