summaryrefslogtreecommitdiff
path: root/bin/files.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/files.php')
-rwxr-xr-xbin/files.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/files.php b/bin/files.php
index 30dbe49..8843baf 100755
--- a/bin/files.php
+++ b/bin/files.php
@@ -203,6 +203,9 @@ function filesgetlisting($dir)
break;
default:
}
+
+ if ($type == 'folder')
+ $newentry['path'] = $newentry['path'] .'/';
}
return $listing;