mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
强化日志信息 仅调试模式下有效 Input类的方法支持 判断一个变量是否存在
This commit is contained in:
@@ -38,6 +38,8 @@ class Cache
|
||||
$class = (!empty($options['namespace']) ? $options['namespace'] : '\\think\\cache\\driver\\') . ucwords($type);
|
||||
unset($options['type']);
|
||||
self::$instance[$md5] = new $class($options);
|
||||
// 记录初始化信息
|
||||
APP_DEBUG && Log::record('[ CACHE ] INIT ' . $type . ':' . var_export($options, true), 'info');
|
||||
}
|
||||
self::$handler = self::$instance[$md5];
|
||||
return self::$handler;
|
||||
|
||||
Reference in New Issue
Block a user