lib/elFinderVolumeDropbox.class.php 1 location
|
@@ 391-393 (lines=3) @@
|
| 388 |
|
// normalize root path |
| 389 |
|
$this->root = $this->options['path'] = $this->_normpath($this->options['path']); |
| 390 |
|
|
| 391 |
|
if (empty($this->options['alias'])) { |
| 392 |
|
$this->options['alias'] = ($this->options['path'] === '/') ? 'Dropbox.com' : 'Dropbox'.$this->options['path']; |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
$this->rootName = $this->options['alias']; |
| 396 |
|
|
lib/elFinderVolumeFTP.class.php 1 location
|
@@ 198-202 (lines=5) @@
|
| 195 |
|
// normalize root path |
| 196 |
|
$this->root = $this->options['path'] = $this->_normpath($this->options['path']); |
| 197 |
|
|
| 198 |
|
if (empty($this->options['alias'])) { |
| 199 |
|
$this->options['alias'] = $this->options['user'].'@'.$this->options['host']; |
| 200 |
|
// $num = elFinder::$volumesCnt-1; |
| 201 |
|
// $this->options['alias'] = $this->root == '/' || $this->root == '.' ? 'FTP folder '.$num : basename($this->root); |
| 202 |
|
} |
| 203 |
|
|
| 204 |
|
$this->rootName = $this->options['alias']; |
| 205 |
|
$this->options['separator'] = '/'; |