src build elFinder-2.1-9aaa0cf

This commit is contained in:
nao-pon
2020-01-10 23:16:08 +09:00
parent bfa0a6ad26
commit 228a511fce
12 changed files with 60 additions and 20 deletions
+3
View File
@@ -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';