thibaud-rohmer / PhotoShow

A free web gallery in PHP with drag-n-drop support
http://www.photoshow-gallery.com
502 stars 151 forks source link

Check rights for directory before searchDir executed - better perform… #285

Closed woytam closed 9 years ago

woytam commented 9 years ago

Check rights for directory before searchDir executed - better performance with private folders. Otherwise it check every dir and every file, it it's accessible - user has rights to read it - so it took long time with big numbers of files. And it's done twice. This request check, if folder has right to read and if not, skip it.

bastrapp commented 9 years ago

This fixes my issue #281