diff --git a/application/models/mydir.php b/application/models/mydir.php index bb9d2a68..f06c56e5 100755 --- a/application/models/mydir.php +++ b/application/models/mydir.php @@ -61,7 +61,7 @@ class mydir{ if(is_dir($dir.'/'.$file)) { $dir2 = $dir.'/'.$file; - $files[]=$dir2; + $files[]=$dir2.'/'; $files[] = $this->recursive($dir2); } else { $files[] = $dir.'/'.$file;