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