mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-27 14:06:10 +01:00
Daniel Siepmann
34ac9cbbe3
Calling within ext_tables.php is bad practice and breaks TYPO3 extension compatibility check. Relates: #10077
11 lines
280 B
PHP
11 lines
280 B
PHP
<?php
|
|
|
|
defined('TYPO3') or die();
|
|
|
|
(static function (string $extensionKey, string $tableName) {
|
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
|
|
$extensionKey,
|
|
'Configuration/TypoScript',
|
|
'Events'
|
|
);
|
|
})('events', 'sys_template');
|