diff options
author | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2017-04-06 14:38:02 +0300 |
---|---|---|
committer | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2017-04-06 15:14:31 +0300 |
commit | f0d9b34cd8062099e63d231d5587ce350977e3b9 (patch) | |
tree | 293cb75c27b4089db5393aee8b1987301aa4abc9 /controller | |
parent | 745c1edd243dbbb753a1fcf3ad7d3bb69a6afdea (diff) |
setting fileType
Diffstat (limited to 'controller')
-rw-r--r-- | controller/editorcontroller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/editorcontroller.php b/controller/editorcontroller.php index 9ae01be..9253744 100644 --- a/controller/editorcontroller.php +++ b/controller/editorcontroller.php @@ -355,6 +355,7 @@ class EditorController extends Controller { $params = [ "document" => [ + "fileType" => pathinfo($fileName, PATHINFO_EXTENSION), "key" => DocumentService::GenerateRevisionId($key), "title" => $fileName, "url" => $fileUrl, |