src build elFinder-2.1-3d955ee

This commit is contained in:
nao-pon
2015-11-12 09:57:20 +09:00
parent bd97b60c13
commit 2939c63288
5 changed files with 7 additions and 6 deletions
@@ -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)) {