mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
类库别名和调用修正
增加sae日志驱动 改进Hook类的exec方法 行为扩展优先检测标签方法 不存在则调用run方法 NOW_TIME改用REQUEST_TIME_FLOAT 变量命名规范
This commit is contained in:
@@ -27,7 +27,7 @@ class Cache {
|
||||
*/
|
||||
static public function connect($options=[]) {
|
||||
$type = !empty($options['type'])?$options['type']:'File';
|
||||
$class = 'Think\\Cache\\Driver\\'.ucwords($type);
|
||||
$class = 'think\\cache\\driver\\'.ucwords($type);
|
||||
self::$handler = new $class($options);
|
||||
return self::$handler;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user