[VD:LocalFileSystem,S3] fix some notice errors

This commit is contained in:
nao-pon
2016-01-20 17:21:08 +09:00
parent 516147caf6
commit ff737052d1
2 changed files with 2 additions and 0 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'];