mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix merge miss of last commit 61dbd00
This commit is contained in:
@@ -821,6 +821,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
if (is_link($p) || !$this->nameAccepted($name)
|
||||
||
|
||||
(($mimeByName = elFinderVolumeDriver::mimetypeInternalDetect($name)) && $mimeByName !== 'unknown' && !$this->allowPutMime($mimeByName))) {
|
||||
$this->setError(elFinder::ERROR_SAVE, $name);
|
||||
return true;
|
||||
}
|
||||
if (is_dir($p) && $this->_findSymlinks($p)) {
|
||||
|
||||
Reference in New Issue
Block a user