From 3d9e08525ebd6131f736216d58bb495c0754ea04 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Tue, 5 Jan 2021 13:38:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5=E5=BE=B7=E8=AF=ADjs=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/cache.php b/application/controllers/cache.php index 63ceee99..19d5a491 100644 --- a/application/controllers/cache.php +++ b/application/controllers/cache.php @@ -139,7 +139,7 @@ class Cache extends CI_Controller { $mydir = dir($dir); while ($f = $mydir->read()) { - if (is_dir("$dir/$f") && $f != "." && $f != ".." && (strpos($dir, '/cn/') === false) && (strpos($dir, '/amp/') === false)) { + if (is_dir("$dir/$f") && $f != "." && $f != ".." && (strpos($dir, '/cn/') === false) && (strpos($dir, '/amp/') === false) && (strpos($dir, '/js/') === false)) { $path[] = "$dir/$f"; $this->tree("$dir/$f", $file, $path, $file_time); } else {