From 91782e61c4e47cddc6eccca6afd2cc0cab3ac85d Mon Sep 17 00:00:00 2001 From: "lmr@hainatravel.com" <59361885@qq.com> Date: Wed, 24 Jan 2018 10:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5amp=E7=9B=AE=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 075fd162..0f87941b 100644 --- a/application/controllers/cache.php +++ b/application/controllers/cache.php @@ -145,7 +145,7 @@ class Cache extends CI_Controller } else { - if ($f!='.' && $f!='..' && (strpos($dir, '/cn/')==false) && (strpos($f, '.pdf')===false)) + if ($f!='.' && $f!='..' && (strpos($dir, '/cn/')==false) && (strpos($f, '.pdf')===false) && (strpos($f, '/amp/')===false) ) { $file_temp = str_ireplace('/index.htm###', '', $f.'###'); $file_temp = str_ireplace('###', '', $file_temp);