summaryrefslogtreecommitdiff
path: root/bin/files.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-18 19:42:14 +0100
committerTheTroll <trolldev@gmail.com>2010-03-18 19:42:14 +0100
commitb5809305a58230018043c0d8357b066c0277680f (patch)
treec10710ae1c039753bf4dd2c2265da062d6a83ecc /bin/files.php
parent02ceecb7622de96dcf42abab2d4a7097091017f0 (diff)
downloadistreamdev-b5809305a58230018043c0d8357b066c0277680f.tar.gz
istreamdev-b5809305a58230018043c0d8357b066c0277680f.tar.bz2
Fixed dir check
Diffstat (limited to 'bin/files.php')
-rwxr-xr-xbin/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/files.php b/bin/files.php
index 8f93707..e7ffaa9 100755
--- a/bin/files.php
+++ b/bin/files.php
@@ -205,7 +205,7 @@ function filesgetlisting($dir)
{
$newentry['path'] = $newentry['path'] .'/';
- if (glob($newentry['path']))
+ if (glob(quotemeta($newentry['path']) .'*'))
$folderlisting[] = $newentry;
}
else