|
|
|
@ -138,7 +138,7 @@ class Cache extends CI_Controller
|
|
|
|
$mydir = dir($dir);
|
|
|
|
$mydir = dir($dir);
|
|
|
|
while($f = $mydir->read())
|
|
|
|
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";
|
|
|
|
$path[] = "$dir/$f";
|
|
|
|
$this->tree("$dir/$f", $file, $path, $file_time);
|
|
|
|
$this->tree("$dir/$f", $file, $path, $file_time);
|
|
|
|
|