lib/elFinderVolumeDropbox2.class.php 1 location
|
@@ 582-584 (lines=3) @@
|
579 |
|
} |
580 |
|
$this->root = $this->options['path'] = $this->_normpath($this->options['path']); |
581 |
|
|
582 |
|
if (empty($this->options['alias'])) { |
583 |
|
$this->options['alias'] = sprintf($this->options['aliasFormat'], ($this->options['path'] === '/') ? 'root' : $this->_basename($this->options['path'])); |
584 |
|
} |
585 |
|
|
586 |
|
$this->rootName = $this->options['alias']; |
587 |
|
|
lib/elFinderVolumeGoogleDrive.class.php 1 location
|
@@ 949-951 (lines=3) @@
|
946 |
|
|
947 |
|
$this->options['root'] == '' ? $this->options['root'] = $this->_gd_getNameByPath('root') : $this->options['root']; |
948 |
|
|
949 |
|
if (empty($this->options['alias'])) { |
950 |
|
$this->options['alias'] = ($this->options['path'] === '/') ? $this->options['root'] : sprintf($this->options['gdAlias'], $this->_gd_getNameByPath($this->options['path'])); |
951 |
|
} |
952 |
|
|
953 |
|
$this->rootName = $this->options['alias']; |
954 |
|
|
lib/elFinderVolumeOneDrive.class.php 1 location
|
@@ 800-803 (lines=4) @@
|
797 |
|
|
798 |
|
$this->options['root'] == '' ? $this->options['root'] = 'OneDrive.com' : $this->options['root']; |
799 |
|
|
800 |
|
if (empty($this->options['alias'])) { |
801 |
|
$this->options['alias'] = ($this->options['path'] === '/') ? $this->options['root'] : |
802 |
|
$this->_od_query(basename($this->options['path']), $fetch_self = true)->name.'@OneDrive'; |
803 |
|
} |
804 |
|
|
805 |
|
$this->rootName = $this->options['alias']; |
806 |
|
|