[BUGFIX] Empty __call() function hides implementation errors
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
8 'TYPO3\\CMS\\Core\\Resource\\ResourceFactory',
9 \TYPO3\CMS\Core\Resource\ResourceFactory::SIGNAL_PostProcessStorage,
10 'TYPO3\\CMS\\Core\\Resource\\Security\\StoragePermissionsAspect',
11 'addUserPermissionsToStorage'
12 );
13 }
14
15 ?>