diff options
Diffstat (limited to 'bin/files.php')
-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 |