内核更新

This commit is contained in:
2016-09-01 22:03:02 +08:00
parent a12aba3512
commit 7381ce5ce7
15 changed files with 83 additions and 49 deletions

View File

@@ -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])) {