mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] set fallback to $this->tmp of $this->quarantine
This commit is contained in:
@@ -171,8 +171,12 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
}
|
||||
|
||||
if (!$this->quarantine) {
|
||||
$this->archivers['extract'] = array();
|
||||
$this->disabled[] = 'extract';
|
||||
if (!$this->tmp) {
|
||||
$this->archivers['extract'] = array();
|
||||
$this->disabled[] = 'extract';
|
||||
} else {
|
||||
$this->quarantine = $this->tmp;
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->options['quarantine']) {
|
||||
|
||||
Reference in New Issue
Block a user