mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
slog移动到核心think包 将来进一步改进
This commit is contained in:
@@ -1162,9 +1162,8 @@ abstract class Driver
|
||||
}
|
||||
}
|
||||
|
||||
$slog_config = Config::get('slog');
|
||||
if ($slog_config['enable'] && $start) {
|
||||
\org\Slog::sql($this->queryStr, $this->_linkID);
|
||||
if (SLOG_ON && $start) {
|
||||
\think\Slog::sql($this->queryStr, $this->_linkID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user