mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
取消APP_HOOK常量 默认开启插件机制
This commit is contained in:
@@ -126,7 +126,7 @@ class Log
|
||||
$log[] = ['type' => $type, 'msg' => $msg];
|
||||
|
||||
// 监听log_write
|
||||
APP_HOOK && Hook::listen('log_write', $log);
|
||||
Hook::listen('log_write', $log);
|
||||
if (is_null(self::$driver)) {
|
||||
self::init(Config::get('log'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user