mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.0-65e193f
This commit is contained in:
@@ -655,7 +655,9 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
foreach (scandir($path) as $name) {
|
||||
if ($name != '.' && $name != '..') {
|
||||
$p = $path.DIRECTORY_SEPARATOR.$name;
|
||||
if (is_link($p) || !$this->nameAccepted($name)) {
|
||||
if (is_link($p) || !$this->nameAccepted($name)
|
||||
||
|
||||
(($mimeByName = elFinderVolumeDriver::mimetypeInternalDetect($name)) && $mimeByName !== 'unknown' && !$this->allowPutMime($mimeByName))) {
|
||||
return true;
|
||||
}
|
||||
if (is_dir($p) && $this->_findSymlinks($p)) {
|
||||
|
||||
Reference in New Issue
Block a user