mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD] main option commonTempPath to use
and fixes some notice errors
This commit is contained in:
@@ -144,6 +144,9 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
|
||||
|
||||
$this->tmpPath = is_dir($tmp) && is_writable($tmp) ? $tmp : false;
|
||||
}
|
||||
if (!$this->tmpPath && ($tmp = elFinder::getStaticVar('commonTempPath'))) {
|
||||
$this->tmpPath = $tmp;
|
||||
}
|
||||
|
||||
if (!$this->tmpPath && $this->tmbPath && $this->tmbPathWritable) {
|
||||
$this->tmpPath = $this->tmbPath;
|
||||
|
||||
Reference in New Issue
Block a user