diff --git a/library/think/Cache.php b/library/think/Cache.php index 9f7a569d..ecfd2cf3 100644 --- a/library/think/Cache.php +++ b/library/think/Cache.php @@ -37,7 +37,7 @@ class Cache { $type = !empty($options['type']) ? $options['type'] : 'File'; if (false === $name) { - $name = $type; + $name = md5(serialize($options)); } if (true === $name || !isset(self::$instance[$name])) {