mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix problem in _subdirs() of unreadable dir
This commit is contained in:
@@ -564,7 +564,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
protected function _subdirs($path) {
|
||||
|
||||
$dirs = false;
|
||||
if (is_dir($path)) {
|
||||
if (is_dir($path) && is_readable($path)) {
|
||||
if (class_exists('FilesystemIterator', false)) {
|
||||
$dirItr = new ParentIterator(
|
||||
new RecursiveDirectoryIterator($path,
|
||||
|
||||
Reference in New Issue
Block a user