From b825cdc1178370295aace155ff30bbdcb3318e6b Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 3 Feb 2016 20:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=96=87=E4=BB=B6=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E7=B1=BB=E7=9A=84clear=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/cache/driver/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);