改进默认的过滤方法

This commit is contained in:
thinkphp
2016-07-28 09:54:38 +08:00
parent fc5820cf7f
commit 5d5a080819

View File

@@ -82,7 +82,7 @@ class App
}
$config = self::initCommon();
$request->filter($config['default_filter']);
try {
// 开启多语言机制
@@ -104,6 +104,7 @@ class App
}
// 记录当前调度信息
$request->dispatch($dispatch);
// 记录路由信息
self::$debug && Log::record('[ ROUTE ] ' . var_export($dispatch, true), 'info');
// 监听app_begin