diff --git a/application/controllers/cache.php b/application/controllers/cache.php index 50c1bdf4..a92a435f 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) && (strpos($f, '/amp/')===false) ) + if ($f!='.' && $f!='..' && (strpos($dir, '/cn/')===false) && (strpos($dir, '/amp/')===false) && (strpos($f, '.pdf')===false)) { $file_temp = str_ireplace('/index.htm###', '', $f.'###'); $file_temp = str_ireplace('###', '', $file_temp);