TYPO3 CMS  TYPO3_6-2
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 if (!defined('TYPO3_MODE')) {
3  die('Access denied.');
4 }
6 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
7 
8 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
9  // FAL SECURITY CHECKS
10  $signalSlotDispatcher->connect(
11  'TYPO3\\CMS\\Core\\Resource\\ResourceFactory',
12  \TYPO3\CMS\Core\Resource\ResourceFactoryInterface::SIGNAL_PostProcessStorage,
13  'TYPO3\\CMS\\Core\\Resource\\Security\\StoragePermissionsAspect',
14  'addUserPermissionsToStorage'
15  );
16  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'TYPO3\\CMS\\Core\\Resource\\Security\\FileMetadataPermissionsAspect';
17  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck'][] = 'TYPO3\\CMS\\Core\\Resource\\Security\\FileMetadataPermissionsAspect->isAllowedToShowEditForm';
18  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tceforms_inline.php']['checkAccess'][] = 'TYPO3\\CMS\\Core\\Resource\\Security\\FileMetadataPermissionsAspect->isAllowedToShowEditForm';
19  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkModifyAccessList'][] = 'TYPO3\\CMS\\Core\\Resource\\Security\\FileMetadataPermissionsAspect';
20 
21  // PACKAGE MANAGEMENT
22  $signalSlotDispatcher->connect(
23  'PackageManagement',
24  'packagesMayHaveChanged',
25  'TYPO3\\CMS\\Core\\Package\\PackageManager',
26  'scanAvailablePackages'
27  );
28 }
29 
30 $signalSlotDispatcher->connect(
31  'TYPO3\\CMS\\Core\\Resource\\ResourceStorage',
32  \TYPO3\CMS\Core\Resource\ResourceStorageInterface::SIGNAL_PostFileDelete,
33  'TYPO3\\CMS\\Core\\Resource\\Processing\\FileDeletionAspect',
34  'removeFromRepository'
35 );
36 
37 $signalSlotDispatcher->connect(
38  'TYPO3\\CMS\\Core\\Resource\\ResourceStorage',
39  \TYPO3\CMS\Core\Resource\ResourceStorageInterface::SIGNAL_PostFileAdd,
40  'TYPO3\\CMS\\Core\\Resource\\Processing\\FileDeletionAspect',
41  'cleanupProcessedFilesPostFileAdd'
42 );
43 
44 $signalSlotDispatcher->connect(
45  'TYPO3\\CMS\\Core\\Resource\\ResourceStorage',
46  \TYPO3\CMS\Core\Resource\ResourceStorageInterface::SIGNAL_PostFileReplace,
47  'TYPO3\\CMS\\Core\\Resource\\Processing\\FileDeletionAspect',
48  'cleanupProcessedFilesPostFileReplace'
49 );
50 
52 
53 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['dumpFile'] = 'EXT:core/Resources/PHP/FileDumpEID.php';
const TYPO3_MODE
Definition: init.php:40
die
Definition: index.php:6
$signalSlotDispatcher
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]