diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-18 19:42:14 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-18 19:42:14 +0100 |
commit | b5809305a58230018043c0d8357b066c0277680f (patch) | |
tree | c10710ae1c039753bf4dd2c2265da062d6a83ecc /bin | |
parent | 02ceecb7622de96dcf42abab2d4a7097091017f0 (diff) | |
download | istreamdev-b5809305a58230018043c0d8357b066c0277680f.tar.gz istreamdev-b5809305a58230018043c0d8357b066c0277680f.tar.bz2 |
Fixed dir check
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/files.php | 2 |
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 |