mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正cache驱动路径
This commit is contained in:
@@ -29,7 +29,7 @@ class Cache
|
||||
public static 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