Skip to content

Commit

Permalink
Remove condition for backend check
Browse files Browse the repository at this point in the history
  • Loading branch information
ipf committed Jan 6, 2025
1 parent dcddec9 commit 6c9ce95
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:find/Configuration/TSconfig/ContentElementWizard.tsconfig">');
};
Expand Down

0 comments on commit 6c9ce95

Please sign in to comment.