Skip to content

Commit

Permalink
新增 odt, dot 副檔名
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyworm authored Jan 12, 2018
1 parent a851580 commit 57b9dc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OfficeConverter/OfficeConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ private function getAllowedConverter($extension = null)
'pdf' => ['pdf'],
'docx' => ['pdf', 'odt', 'html'],
'doc' => ['pdf', 'odt', 'html'],
'dotx' => ['pdf', 'odt', 'html'],
'dot' => ['pdf', 'odt', 'html'],
'odt' => ['pdf', 'html'],
'xlsx' => ['pdf'],
'xls' => ['pdf'],
'png' => ['pdf'],
'PNG' => ['pdf'],
'jpg' => ['pdf'],
'JPG' => ['pdf'],
'jpeg' => ['pdf'],
'JPEG' => ['pdf'],
];

if ($extension !== null) {
Expand Down

0 comments on commit 57b9dc8

Please sign in to comment.