summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-18 19:59:41 +0100
committerAlib <aliboba@free.fr>2010-03-18 19:59:41 +0100
commit8397e0f46e8f18a48e4399c989d8e057233196ee (patch)
tree313c629fcc578dcd426d56cc769aa40c25c47ba4
parent9c90f138480f3ed52297ef5597fbb43bb6a2226f (diff)
parentb5809305a58230018043c0d8357b066c0277680f (diff)
downloadistreamdev-8397e0f46e8f18a48e4399c989d8e057233196ee.tar.gz
istreamdev-8397e0f46e8f18a48e4399c989d8e057233196ee.tar.bz2
Merge branch 'jquery' of projects.vdr-developer.org:istreamdev into jquery
-rwxr-xr-xbin/files.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/files.php b/bin/files.php
index be2a364..e7ffaa9 100755
--- a/bin/files.php
+++ b/bin/files.php
@@ -204,7 +204,9 @@ function filesgetlisting($dir)
if ($type == 'folder')
{
$newentry['path'] = $newentry['path'] .'/';
- $folderlisting[] = $newentry;
+
+ if (glob(quotemeta($newentry['path']) .'*'))
+ $folderlisting[] = $newentry;
}
else
$filelisting[] = $newentry;