mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix #3095 not able to make quarantine directory
This commit is contained in:
@@ -216,7 +216,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver
|
||||
// check quarantine dir
|
||||
$this->quarantine = '';
|
||||
if (!empty($this->options['quarantine'])) {
|
||||
if ((is_dir($this->options['quarantine']) || mkdir($this->quarantine, $this->options['dirMode'], true)) && is_writable($this->options['quarantine'])) {
|
||||
if ((is_dir($this->options['quarantine']) || mkdir($this->options['quarantine'], $this->options['dirMode'], true)) && is_writable($this->options['quarantine'])) {
|
||||
$this->quarantine = $this->options['quarantine'];
|
||||
} else {
|
||||
if (isset($hiddens['quarantine'])) {
|
||||
|
||||
Reference in New Issue
Block a user