[BUGFIX] Prevent double encoding in button rendering
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Register extension list update task
5 $_EXTCONF = unserialize($_EXTCONF);
6 if (empty($_EXTCONF['offlineMode'])) {
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask::class] = array(
8 'extension' => $_EXTKEY,
9 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.updateExtensionListTask.name',
10 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.updateExtensionListTask.description',
11 'additionalFields' => '',
12 );
13 }
14
15 if (TYPO3_MODE === 'BE') {
16 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = \TYPO3\CMS\Extensionmanager\Command\ExtensionCommandController::class;
17 if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
18 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
19 $signalSlotDispatcher->connect(
20 \TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::class,
21 'willInstallExtensions',
22 \TYPO3\CMS\Core\Package\PackageManager::class,
23 'scanAvailablePackages'
24 );
25 $signalSlotDispatcher->connect(
26 \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
27 'tablesDefinitionIsBeingBuilt',
28 \TYPO3\CMS\Core\Cache\DatabaseSchemaService::class,
29 'addCachingFrameworkRequiredDatabaseSchemaForInstallUtility'
30 );
31 $signalSlotDispatcher->connect(
32 \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
33 'tablesDefinitionIsBeingBuilt',
34 \TYPO3\CMS\Core\Category\CategoryRegistry::class,
35 'addExtensionCategoryDatabaseSchemaToTablesDefinition'
36 );
37 }
38 }