From 93a0a697d16f6e74ecdcc1974d470b7d11819391 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 18 Mar 2010 16:59:24 +0100 Subject: Add a / after folder path --- bin/files.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/files.php') 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; -- cgit v1.2.3