forked from fabarea/media_upload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] move ExtensionManagementUtility::addStaticFile to TCA/Overrides
fixes fabarea#57
- Loading branch information
web-commerce-og
authored and
web-commerce-og
committed
Mar 9, 2023
1 parent
5740f96
commit 393fc39
Showing
2 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
declare(strict_types=1); | ||
defined('TYPO3') or die(); | ||
|
||
$configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class) ->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'); | ||
} |
This file was deleted.
Oops, something went wrong.