mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix mkdir quarantine that option has file path
This commit is contained in:
@@ -159,7 +159,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
$this->options['quarantine'] = '';
|
||||
} else {
|
||||
$this->quarantine = $this->_abspath($this->options['quarantine']);
|
||||
if ((!is_dir($this->quarantine) && !$this->_mkdir($this->root, $this->options['quarantine'])) || !is_writable($this->quarantine)) {
|
||||
if ((!is_dir($this->quarantine) && !mkdir($this->quarantine)) || !is_writable($this->quarantine)) {
|
||||
$this->options['quarantine'] = $this->quarantine = '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user