lib/elFinderVolumeBox.class.php 1 location
|
@@ 850-854 (lines=5) @@
|
| 847 |
|
|
| 848 |
|
$this->tmbPrefix = 'box'.base_convert($this->netMountKey, 10, 32); |
| 849 |
|
|
| 850 |
|
if (! empty($this->options['tmpPath'])) { |
| 851 |
|
if ((is_dir($this->options['tmpPath']) || mkdir($this->options['tmpPath'])) && is_writable($this->options['tmpPath'])) { |
| 852 |
|
$this->tmp = $this->options['tmpPath']; |
| 853 |
|
} |
| 854 |
|
} |
| 855 |
|
|
| 856 |
|
if (! $this->tmp && ($tmp = elFinder::getStaticVar('commonTempPath'))) { |
| 857 |
|
$this->tmp = $tmp; |
lib/elFinderVolumeDropbox.class.php 1 location
|
@@ 433-437 (lines=5) @@
|
| 430 |
|
$this->tmp = $tmp; |
| 431 |
|
} |
| 432 |
|
|
| 433 |
|
if (! empty($this->options['metaCachePath'])) { |
| 434 |
|
if ((is_dir($this->options['metaCachePath']) || mkdir($this->options['metaCachePath'])) && is_writable($this->options['metaCachePath'])) { |
| 435 |
|
$this->metaCache = $this->options['metaCachePath']; |
| 436 |
|
} |
| 437 |
|
} |
| 438 |
|
if (! $this->metaCache && $this->tmp) { |
| 439 |
|
$this->metaCache = $this->tmp; |
| 440 |
|
} |
lib/elFinderVolumeFTP.class.php 1 location
|
@@ 228-232 (lines=5) @@
|
| 225 |
|
{ |
| 226 |
|
parent::configure(); |
| 227 |
|
|
| 228 |
|
if (! empty($this->options['tmpPath'])) { |
| 229 |
|
if ((is_dir($this->options['tmpPath']) || mkdir($this->options['tmpPath'], 0755, true)) && is_writable($this->options['tmpPath'])) { |
| 230 |
|
$this->tmp = $this->options['tmpPath']; |
| 231 |
|
} |
| 232 |
|
} |
| 233 |
|
if (! $this->tmp && ($tmp = elFinder::getStaticVar('commonTempPath'))) { |
| 234 |
|
$this->tmp = $tmp; |
| 235 |
|
} |
lib/elFinderVolumeLocalFileSystem.class.php 1 location
|
@@ 216-220 (lines=5) @@
|
| 213 |
|
|
| 214 |
|
// set $this->tmp by options['tmpPath'] |
| 215 |
|
$this->tmp = ''; |
| 216 |
|
if (! empty($this->options['tmpPath'])) { |
| 217 |
|
if ((is_dir($this->options['tmpPath']) || mkdir($this->options['tmpPath'], 0755, true)) && is_writable($this->options['tmpPath'])) { |
| 218 |
|
$this->tmp = $this->options['tmpPath']; |
| 219 |
|
} |
| 220 |
|
} |
| 221 |
|
if (! $this->tmp && ($tmp = elFinder::getStaticVar('commonTempPath'))) { |
| 222 |
|
$this->tmp = $tmp; |
| 223 |
|
} |