append slash for directory
This commit is contained in:
parent
28373f4984
commit
5d1a3b5668
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue