[php:core,VD] fix #1074 startPath for multi volumes

This commit is contained in:
nao-pon
2015-12-28 21:21:42 +09:00
parent 56906b7997
commit c8a66f0ef2
3 changed files with 9 additions and 5 deletions
@@ -73,6 +73,9 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
}
}
$this->root = $this->getFullPath($this->root, $cwd);
if (!empty($this->options['startPath'])) {
$this->options['startPath'] = $this->getFullPath($this->options['startPath'], $cwd);
}
return true;
}