app_begin标签添加参数 控制器版本默认变量改为v

This commit is contained in:
thinkphp
2016-03-27 17:35:47 +08:00
parent ab5633704e
commit bfd89eaed5
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class App
// 记录路由信息
APP_DEBUG && Log::record('[ ROUTE ] ' . var_export(self::$dispatch, true), 'info');
// 监听app_begin
APP_HOOK && Hook::listen('app_begin');
APP_HOOK && Hook::listen('app_begin', self::$dispatch);
// 根据类型调度
switch (self::$dispatch['type']) {