Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Adding WOPI standard
Browse files Browse the repository at this point in the history
  • Loading branch information
ghecquet committed Oct 14, 2016
1 parent 508fa2b commit 76ecd89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/core/src/pydio/Core/Http/Wopi/Middleware.php
Expand Up @@ -96,11 +96,12 @@ public function emitResponse(ServerRequestInterface $request, ResponseInterface
$meta = $node->getNodeInfoMeta();
$userId = $node->getUser()->getId();
$data = [
"BaseFileName" => urlencode($node->getLabel()),
"BaseFileName" => $node->getLabel(),
"OwnerId" => $userId,
"Size" => $meta["bytesize"],
"UserId" => $userId,
"Version" => "" . $meta["ajxp_modiftime"]
"Version" => "" . $meta["ajxp_modiftime"],
"UserFriendlyName" => $userId
];

$x->addChunk(new Message($data));
Expand Down

0 comments on commit 76ecd89

Please sign in to comment.