diff --git a/library/think/cache/driver/File.php b/library/think/cache/driver/File.php index 6cd38dba..698bfcee 100644 --- a/library/think/cache/driver/File.php +++ b/library/think/cache/driver/File.php @@ -187,7 +187,7 @@ class File */ public function clear() { - $path = $this->options['temp']; + $path = $this->options['path']; if ($dir = opendir($path)) { while ($file = readdir($dir)) { $check = is_dir($file);