内核更新

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

@@ -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;
}
/**