src build elFinder-2.1-ff73705

This commit is contained in:
nao-pon
2016-01-20 17:22:44 +09:00
parent c7428e139e
commit 7e9b6e38a4
6 changed files with 8 additions and 6 deletions
@@ -136,6 +136,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
parent::configure();
// set $this->tmp by options['tmpPath']
$this->tmp = '';
if (!empty($this->options['tmpPath'])) {
if ((is_dir($this->options['tmpPath']) || @mkdir($this->options['tmpPath'], 0755, true)) && is_writable($this->options['tmpPath'])) {
$this->tmp = $this->options['tmpPath'];