Skip to content

Commit

Permalink
feat: register mime-types for docm, xlsm and pptm
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Jan 23, 2025
1 parent 1ff76c8 commit 4487734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appinfo/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ function () {
$detector->registerType("ott", "application/vnd.oasis.opendocument.text-template");
$detector->registerType("ots", "application/vnd.oasis.opendocument.spreadsheet-template");
$detector->registerType("otp", "application/vnd.oasis.opendocument.presentation-template");
$detector->registerType("docm", "application/vnd.ms-word.document.macroenabled.12");
$detector->registerType("xlsm", "application/vnd.ms-excel.sheet.macroenabled.12");
$detector->registerType("pptm", "application/vnd.ms-powerpoint.presentation.macroenabled.12");

$previewManager = $container->query(IPreview::class);
if ($this->appConfig->getPreview()) {
Expand Down

0 comments on commit 4487734

Please sign in to comment.