From 80a208e7074ebabb3b9ac0a25dbd436a18e7d943 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Tue, 5 Jan 2021 13:44:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5=E5=BE=B7=E8=AF=AD=E7=AB=99AM?= =?UTF-8?q?P=E6=89=B9=E9=87=8F=E6=9B=B4=E6=96=B0?= 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 fd365bac..0705a6b2 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) && (strpos($dir, '/js/') === false)) { + if ($f != '.' && $f != '..' && (strpos($f, '/cn/') === false) && (strpos($f, '/amp/') === false) && (strpos($f, '.pdf') === false) && (strpos($f, '.mobile.htm') === false) && (strpos($f, '/js/') === false) && (strpos($f, '.amp') === false)) { $file_temp = str_replace('/index.htm###', '', $f . '###'); $file_temp = str_replace('###', '', $file_temp); $path_temp = str_replace($this->dir, '', $dir);