Skip to content

Commit

Permalink
[TASK] Add TYPO3 v13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ayacoo committed May 30, 2024
1 parent 63681ca commit d0a403f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@

$GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType'][$mediaFileExt] = 'video/' . $mediaFileExt;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'] .= ',' . $mediaFileExt;

$iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
$iconRegistry->registerFileExtension($mediaFileExt, 'mimetypes-media-image-' . $mediaFileExt);
})('tiktok');

0 comments on commit d0a403f

Please sign in to comment.