mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.1-9aaa0cf
This commit is contained in:
@@ -1024,6 +1024,9 @@ class elFinderVolumeOneDrive extends elFinderVolumeDriver
|
||||
if ($this->needOnline && empty($this->options['alias'])) {
|
||||
$this->options['alias'] = ($this->options['path'] === '/') ? $this->options['root'] :
|
||||
$this->_od_query(basename($this->options['path']), $fetch_self = true)->name . '@OneDrive';
|
||||
if (!empty($this->options['netkey'])) {
|
||||
elFinder::$instance->updateNetVolumeOption($this->options['netkey'], 'alias', $this->options['alias']);
|
||||
}
|
||||
}
|
||||
|
||||
$this->rootName = isset($this->options['alias'])? $this->options['alias'] : 'OneDrive.com';
|
||||
|
||||
Reference in New Issue
Block a user