[VD] main option commonTempPath to use

and fixes some notice errors
This commit is contained in:
nao-pon
2016-01-20 17:09:08 +09:00
parent 9b22635ec5
commit 516147caf6
5 changed files with 22 additions and 14 deletions
@@ -141,6 +141,9 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$this->tmp = $this->options['tmpPath'];
}
}
if (!$this->tmp && ($tmp = elFinder::getStaticVar('commonTempPath'))) {
$this->tmp = $tmp;
}
// if no thumbnails url - try detect it
if ($root['read'] && !$this->tmbURL && $this->URL) {