diff --git a/application/controllers/cache.php b/application/controllers/cache.php index 0f87941b..c796d501 100644 --- a/application/controllers/cache.php +++ b/application/controllers/cache.php @@ -138,7 +138,7 @@ class Cache extends CI_Controller $mydir = dir($dir); while($f = $mydir->read()) { - if(is_dir("$dir/$f") && $f!="." && $f!=".." && (strpos($dir, '/cn/')==false)) + if(is_dir("$dir/$f") && $f!="." && $f!=".." && (strpos($dir, '/cn/')==false) && (strpos($dir, '/amp/')==false)) { $path[] = "$dir/$f"; $this->tree("$dir/$f", $file, $path, $file_time);