mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-12-26 05:46:13 +01:00
Daniel Siepmann
1088a580a0
Import Configuration can now be stored on folders, beside the site root. That way editors can create and edit records. The default storage pid for new records can be defined via TypoScript. Resolves: #24
11 lines
361 B
PHP
11 lines
361 B
PHP
<?php
|
|
|
|
defined('TYPO3') or die();
|
|
|
|
\WerkraumMedia\ThueCat\Extension::registerConfig();
|
|
|
|
(static function (string $extensionKey) {
|
|
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
|
|
'@import "EXT:' . $extensionKey . '/Configuration/TypoScript/Default/Setup.typoscript"'
|
|
);
|
|
})(\WerkraumMedia\ThueCat\Extension::EXTENSION_KEY);
|