From e3e0107fe4b44dcc57f7c65092b6dfbe9e90db67 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Tue, 5 Jan 2021 13:40:04 +0800 Subject: [PATCH] +1 --- 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 19d5a491..fd365bac 100644 --- a/application/controllers/cache.php +++ b/application/controllers/cache.php @@ -143,7 +143,7 @@ class Cache extends CI_Controller $path[] = "$dir/$f"; $this->tree("$dir/$f", $file, $path, $file_time); } else { - if ($f != '.' && $f != '..' && (strpos($dir, '/cn/') === false) && (strpos($dir, '/amp/') === false) && (strpos($f, '.pdf') === false) && (strpos($f, '.mobile.htm') === false)) { + if ($f != '.' && $f != '..' && (strpos($dir, '/cn/') === false) && (strpos($dir, '/amp/') === false) && (strpos($f, '.pdf') === false) && (strpos($f, '.mobile.htm') === false) && (strpos($dir, '/js/') === false)) { $file_temp = str_replace('/index.htm###', '', $f . '###'); $file_temp = str_replace('###', '', $file_temp); $path_temp = str_replace($this->dir, '', $dir);