mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.1-4664dd9
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 = '';
|
||||
}
|
||||
}
|
||||
@@ -184,7 +184,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
);
|
||||
}
|
||||
|
||||
if ($this->options['keepTimestamp']) {
|
||||
if (! empty($this->options['keepTimestamp'])) {
|
||||
$this->options['keepTimestamp'] = array_flip($this->options['keepTimestamp']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user