[TASK] Change check for TYPO3_MODE
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'FE' && !isset($_REQUEST['eID'])) {
5 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
6 'TYPO3\\CMS\\Core\\Resource\\Index\\MetaDataRepository',
7 'recordPostRetrieval',
8 'TYPO3\\CMS\\Frontend\\Aspect\\FileMetadataOverlayAspect',
9 'languageAndWorkspaceOverlay'
10 );
11 }