日志初始化改进

This commit is contained in:
thinkphp
2016-02-02 15:43:22 +08:00
parent 27cc3d524a
commit 9ea738ee26
3 changed files with 4 additions and 7 deletions

View File

@@ -74,6 +74,9 @@ class App
Session::init($config['session']);
}
// 日志初始化
Log::init($config['log']);
if (empty(self::$dispatch['type'])) {
// 未指定调度类型 则进行URL路由检测
self::route($config);