php/elFinderVolumeMySQL.class.php 1 location
|
@@ 139-143 (lines=5) @@
|
| 136 |
|
parent::configure(); |
| 137 |
|
|
| 138 |
|
if (($tmp = $this->options['tmpPath'])) { |
| 139 |
|
if (!file_exists($tmp)) { |
| 140 |
|
if (@mkdir($tmp)) { |
| 141 |
|
@chmod($tmp, $this->options['tmbPathMode']); |
| 142 |
|
} |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
$this->tmpPath = is_dir($tmp) && is_writable($tmp) ? $tmp : false; |
| 146 |
|
} |
php/elFinderVolumeDriver.class.php 1 location
|
@@ 573-579 (lines=7) @@
|
| 570 |
|
// set thumbnails path |
| 571 |
|
$path = $this->options['tmbPath']; |
| 572 |
|
if ($path) { |
| 573 |
|
if (!file_exists($path)) { |
| 574 |
|
if (@mkdir($path)) { |
| 575 |
|
chmod($path, $this->options['tmbPathMode']); |
| 576 |
|
} else { |
| 577 |
|
$path = ''; |
| 578 |
|
} |
| 579 |
|
} |
| 580 |
|
|
| 581 |
|
if (is_dir($path) && is_readable($path)) { |
| 582 |
|
$this->tmbPath = $path; |