Send file path to the client also, fix revision history

This commit is contained in:
Pranav Kant 2017-03-23 15:16:31 +05:30
parent 9d85827409
commit 66935d4bed

View File

@ -107,7 +107,7 @@ class DocumentController extends Controller {
'fileId' => $item->getId() . '_' . $this->settings->getSystemValue('instanceid'), 'fileId' => $item->getId() . '_' . $this->settings->getSystemValue('instanceid'),
'token' => $token, 'token' => $token,
'urlsrc' => $urlSrc, 'urlsrc' => $urlSrc,
'path' => '/', 'path' => $folder->getRelativePath($item->getPath()),
'instanceId' => $this->settings->getSystemValue('instanceid'), 'instanceId' => $this->settings->getSystemValue('instanceid'),
]; ];