summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-18 16:59:24 +0100
committerTheTroll <trolldev@gmail.com>2010-03-18 16:59:24 +0100
commit93a0a697d16f6e74ecdcc1974d470b7d11819391 (patch)
tree3222acb2b9511d7e886221bec5ed76088ec12e96 /bin
parent3f938c28f89985d437b5ed8b2cbffeecf3ecdd03 (diff)
downloadistreamdev-93a0a697d16f6e74ecdcc1974d470b7d11819391.tar.gz
istreamdev-93a0a697d16f6e74ecdcc1974d470b7d11819391.tar.bz2
Add a / after folder path
Diffstat (limited to 'bin')
-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;