Backport more fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1badbe922e
commit
1ee9bee489
|
@ -272,7 +272,8 @@ class Provider implements IProvider {
|
|||
'type' => 'file',
|
||||
'id' => $id,
|
||||
'name' => basename($path),
|
||||
'path' => $path,
|
||||
'path' => trim($path, '/'),
|
||||
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue