mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
Merge branch '2.x' into 2.1
This commit is contained in:
@@ -85,8 +85,8 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
// check quarantine dir
|
||||
$this->quarantine = '';
|
||||
if (!empty($this->options['quarantine'])) {
|
||||
if ($this->options['quarantine'] !== basename($this->options['quarantine'])) {
|
||||
if (is_dir($this->options['quarantine']) && is_writable($this->options['quarantine'])) {
|
||||
if (is_dir($this->options['quarantine'])) {
|
||||
if (is_writable($this->options['quarantine'])) {
|
||||
$this->quarantine = $this->options['quarantine'];
|
||||
}
|
||||
$this->options['quarantine'] = '';
|
||||
|
||||
Reference in New Issue
Block a user