mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
slog关闭控制用常量
This commit is contained in:
@@ -110,7 +110,6 @@ return [
|
||||
],
|
||||
/* SocketLog 调试 */
|
||||
'slog' => [
|
||||
'enable' => false, //是否记录日志的开关
|
||||
'host' => 'localhost',
|
||||
//是否显示利于优化的参数,如果允许时间,消耗内存等
|
||||
'optimize' => true,
|
||||
|
||||
@@ -189,7 +189,7 @@ class Slog
|
||||
|
||||
protected static function check()
|
||||
{
|
||||
if (!self::$config['enable']) {
|
||||
if (!SLOG_ON) {
|
||||
return false;
|
||||
}
|
||||
$tabid = self::getClientArg('tabid');
|
||||
|
||||
Reference in New Issue
Block a user