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