内核更新
This commit is contained in:
3
core/library/think/cache/driver/File.php
vendored
3
core/library/think/cache/driver/File.php
vendored
@@ -90,8 +90,7 @@ class File extends Driver
|
||||
*/
|
||||
public function has($name)
|
||||
{
|
||||
$filename = $this->getCacheKey($name);
|
||||
return is_file($filename);
|
||||
return $this->get($name) ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user