`glob` can return FALSE when the directory is empty, instead of an empty array, causing an error at `foreach`. "Note: On some systems it is impossible to distinguish between empty match and an error." See http://www.php.net/manual/en/function.glob.php -> Return Values |
10 years ago | |
---|---|---|
.. | ||
helper.php | Files, trashbin, public apps use ajax/JSON for the file list | 10 years ago |
hooks.php | expire trash bin if trash bin exceeds max size after a new file was added to ownCloud | 11 years ago |
trashbin.php | Prevent error in files_trashbin | 10 years ago |