From 66935d4bed3dc053b00fdb86921d127fbc11ada9 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Thu, 23 Mar 2017 15:16:31 +0530 Subject: [PATCH] Send file path to the client also, fix revision history --- lib/Controller/DocumentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), ];