mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
增加app_dispatch钩子位置
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user