From b5809305a58230018043c0d8357b066c0277680f Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 18 Mar 2010 19:42:14 +0100 Subject: Fixed dir check --- bin/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3