diff --git a/ext_localconf.php b/ext_localconf.php index 638dab2f..5e644cbe 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -20,18 +20,16 @@ SearchController::class => 'index, detail, suggest', ] ); - if (TYPO3\CMS\Core\Http\ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend()) { - /* - * Register icons - */ - /** @var IconRegistry $iconRegistry */ - $iconRegistry = GeneralUtility::makeInstance(IconRegistry::class); - $iconRegistry->registerIcon( - 'ext-find-ce-wizard', - FontawesomeIconProvider::class, - ['name' => 'search'] - ); - } + /* + * Register icons + */ + /** @var IconRegistry $iconRegistry */ + $iconRegistry = GeneralUtility::makeInstance(IconRegistry::class); + $iconRegistry->registerIcon( + 'ext-find-ce-wizard', + FontawesomeIconProvider::class, + ['name' => 'search'] + ); ExtensionManagementUtility::addPageTSConfig(''); };