‪TYPO3CMS  10.4
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
5 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][\‪TYPO3\CMS\Core\Utility\GeneralUtility::class]['moveUploadedFile'][] = \‪TYPO3\CMS\Core\Resource\Security\SvgHookHandler::class . '->processMoveUploadedFile';
6 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \‪TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect::class;
7 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \‪TYPO3\CMS\Core\Hooks\BackendUserGroupIntegrityCheck::class;
8 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \‪TYPO3\CMS\Core\Hooks\BackendUserPasswordCheck::class;
9 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck'][] = \‪TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect::class . '->isAllowedToShowEditForm';
10 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tceforms_inline.php']['checkAccess'][] = \‪TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect::class . '->isAllowedToShowEditForm';
11 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkModifyAccessList'][] = \‪TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect::class;
12 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \‪TYPO3\CMS\Core\Hooks\DestroySessionHook::class;
13 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \‪TYPO3\CMS\Core\Hooks\PagesTsConfigGuard::class;
14 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][\‪TYPO3\CMS\Core\Hooks\CreateSiteConfiguration::class] = \‪TYPO3\CMS\Core\Hooks\CreateSiteConfiguration::class;
15 ‪$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['dumpFile'] = \‪TYPO3\CMS\Core\Controller\FileDumpController::class . '::dumpAction';
16 ‪$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['requirejs'] = \‪TYPO3\CMS\Core\Controller\RequireJsController::class . '::retrieveConfiguration';
17 
19 ‪$rendererRegistry = \‪TYPO3\CMS\Core\Resource\Rendering\RendererRegistry::getInstance();
20 ‪$rendererRegistry->registerRendererClass(\‪TYPO3\CMS\Core\Resource\Rendering\AudioTagRenderer::class);
21 ‪$rendererRegistry->registerRendererClass(\‪TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer::class);
22 ‪$rendererRegistry->registerRendererClass(\‪TYPO3\CMS\Core\Resource\Rendering\YouTubeRenderer::class);
23 ‪$rendererRegistry->registerRendererClass(\‪TYPO3\CMS\Core\Resource\Rendering\VimeoRenderer::class);
25 
26 ‪$textExtractorRegistry = \‪TYPO3\CMS\Core\Resource\TextExtraction\TextExtractorRegistry::getInstance();
27 ‪$textExtractorRegistry->registerTextExtractor(\‪TYPO3\CMS\Core\Resource\TextExtraction\PlainTextExtractor::class);
29 
30 ‪$extractorRegistry = \‪TYPO3\CMS\Core\Resource\Index\ExtractorRegistry::getInstance();
31 ‪$extractorRegistry->registerExtractionService(\‪TYPO3\CMS\Core\Resource\OnlineMedia\Metadata\Extractor::class);
33 
34 // Register base authentication service
35 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
36  'core',
37  'auth',
38  \‪TYPO3\CMS\Core\Authentication\AuthenticationService::class,
39  [
40  'title' => 'User authentication',
41  'description' => 'Authentication with username/password.',
42  'subtype' => 'getUserBE,getUserFE,authUserBE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE',
43  'available' => true,
44  'priority' => 50,
45  'quality' => 50,
46  'os' => '',
47  'exec' => '',
48  'className' => ‪TYPO3\CMS\Core\Authentication\AuthenticationService::class
49  ]
50 );
51 
52 // add default notification options to every page
53 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
54  'TCEMAIN.translateToMessage = Translate to %s:'
55 );
56 
57 ‪$metaTagManagerRegistry = \‪TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\‪TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class);
58 ‪$metaTagManagerRegistry->registerManager(
59  'html5',
60  \‪TYPO3\CMS\Core\MetaTag\Html5MetaTagManager::class
61 );
62 ‪$metaTagManagerRegistry->registerManager(
63  'edge',
64  \‪TYPO3\CMS\Core\MetaTag\EdgeMetaTagManager::class
65 );
67 
68 // Add module configuration
69 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
70  'config.pageTitleProviders.record.provider = ‪TYPO3\CMS\Core\PageTitle\RecordPageTitleProvider'
71 );
‪$extractorRegistry
‪$extractorRegistry
Definition: ext_localconf.php:30
‪TYPO3
‪$textExtractorRegistry
‪$textExtractorRegistry
Definition: ext_localconf.php:26
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪$rendererRegistry
‪$rendererRegistry
Definition: ext_localconf.php:19
‪$metaTagManagerRegistry
‪$metaTagManagerRegistry
Definition: ext_localconf.php:57