mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
show "Dropbox+[path]" if alias has empty value
This commit is contained in:
@@ -289,7 +289,7 @@ class elFinderVolumeDropbox extends elFinderVolumeDriver {
|
||||
$this->root = $this->options['path'] = $this->_normpath($this->options['path']);
|
||||
|
||||
if (empty($this->options['alias'])) {
|
||||
$this->options['alias'] = 'Dropbox.com';
|
||||
$this->options['alias'] = ($this->options['path'] === '/')? 'Dropbox.com' : 'Dropbox'.$this->options['path'];
|
||||
}
|
||||
|
||||
$this->rootName = $this->options['alias'];
|
||||
|
||||
Reference in New Issue
Block a user