[VD:LocalFileSystem] set fallback to $this->tmp of $this->quarantine

This commit is contained in:
nao-pon
2016-02-22 23:10:06 +09:00
parent 0ac3247ffc
commit a9358966ee
+6 -2
View File
@@ -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']) {