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);