更新内核
增加自定义表单(未完成)
This commit is contained in:
5
core/library/think/cache/Driver.php
vendored
5
core/library/think/cache/Driver.php
vendored
@@ -170,8 +170,9 @@ abstract class Driver
|
||||
$key = 'tag_' . md5($this->tag);
|
||||
$this->tag = null;
|
||||
if ($this->has($key)) {
|
||||
$value = $this->get($key);
|
||||
$value .= ',' . $name;
|
||||
$value = explode(',', $this->get($key));
|
||||
$value[] = $name;
|
||||
$value = implode(',', array_unique($value));
|
||||
} else {
|
||||
$value = $name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user