Skip to content

Commit 6c9ce95

Browse files
committed
Remove condition for backend check
1 parent dcddec9 commit 6c9ce95

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

ext_localconf.php

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,16 @@
2020
SearchController::class => 'index, detail, suggest',
2121
]
2222
);
23-
if (TYPO3\CMS\Core\Http\ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend()) {
24-
/*
25-
* Register icons
26-
*/
27-
/** @var IconRegistry $iconRegistry */
28-
$iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
29-
$iconRegistry->registerIcon(
30-
'ext-find-ce-wizard',
31-
FontawesomeIconProvider::class,
32-
['name' => 'search']
33-
);
34-
}
23+
/*
24+
* Register icons
25+
*/
26+
/** @var IconRegistry $iconRegistry */
27+
$iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
28+
$iconRegistry->registerIcon(
29+
'ext-find-ce-wizard',
30+
FontawesomeIconProvider::class,
31+
['name' => 'search']
32+
);
3533

3634
ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:find/Configuration/TSconfig/ContentElementWizard.tsconfig">');
3735
};

0 commit comments

Comments
 (0)