append slash for directory

This commit is contained in:
wlx 2012-09-18 06:00:54 +00:00
parent 28373f4984
commit 5d1a3b5668
1 changed files with 1 additions and 1 deletions

View File

@ -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;