Fix share link to single file

If it's mounted to root, we should serve root
This commit is contained in:
nathan 2022-10-12 11:45:05 -06:00
parent d34273650a
commit 475fc869f5

View File

@ -562,7 +562,7 @@ class Sharing
Vfs::clearstatcache();
$webdav_server = new Vfs\WebDAV();
$webdav_server->ServeRequest(Vfs::concat('/', $this->share['share_token']));
$webdav_server->ServeRequest('/');
return;
}
return $this->get_ui();