diff --git a/Configuration/TCA/Overrides/sys_template.php b/Configuration/TCA/Overrides/sys_template.php new file mode 100644 index 0000000..4a31f6e --- /dev/null +++ b/Configuration/TCA/Overrides/sys_template.php @@ -0,0 +1,10 @@ +get('media_upload'); + +// Possible Static TS loading +if (true === isset($configuration['autoload_typoscript']) && true === (bool)$configuration['autoload_typoscript']) { + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('media_upload', 'Configuration/TypoScript', 'Media upload'); +} diff --git a/ext_tables.php b/ext_tables.php deleted file mode 100644 index 906bf5b..0000000 --- a/ext_tables.php +++ /dev/null @@ -1,11 +0,0 @@ -get('media_upload'); - - // Possible Static TS loading - if (true === isset($configuration['autoload_typoscript']) && true === (bool)$configuration['autoload_typoscript']) { - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('media_upload', 'Configuration/TypoScript', 'Media upload'); - } -});