diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-03-23 12:46:31 +0300 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-03-24 20:52:39 +0300 |
commit | 66935d4bed3dc053b00fdb86921d127fbc11ada9 (patch) | |
tree | 642c733f1e366e36b8047a693e54bef5f0b9e8a0 | |
parent | 9d858274099e2435f321843c299872d18ced3c2e (diff) |
Send file path to the client also, fix revision history
-rw-r--r-- | lib/Controller/DocumentController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php index 70580962..c2eb7621 100644 --- a/lib/Controller/DocumentController.php +++ b/lib/Controller/DocumentController.php @@ -107,7 +107,7 @@ class DocumentController extends Controller { 'fileId' => $item->getId() . '_' . $this->settings->getSystemValue('instanceid'), 'token' => $token, 'urlsrc' => $urlSrc, - 'path' => '/', + 'path' => $folder->getRelativePath($item->getPath()), 'instanceId' => $this->settings->getSystemValue('instanceid'), ]; |