TYPO3 CMS  TYPO3_8-7
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 // Register extension list update task
4 $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['extensionmanager'], ['allowed_classes' => false]);
5 if (empty($extConf['offlineMode'])) {
6  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask::class] = [
7  'extension' => 'extensionmanager',
8  'title' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang.xlf:task.updateExtensionListTask.name',
9  'description' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang.xlf:task.updateExtensionListTask.description',
10  'additionalFields' => '',
11  ];
12 }
13 if (TYPO3_MODE === 'BE') {
14  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = \TYPO3\CMS\Extensionmanager\Command\ExtensionCommandController::class;
15  if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
16  $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
17  $signalSlotDispatcher->connect(
18  \TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::class,
19  'willInstallExtensions',
20  \TYPO3\CMS\Core\Package\PackageManager::class,
21  'scanAvailablePackages'
22  );
23  unset($signalSlotDispatcher);
24  }
25 }
26 unset($extConf);
static makeInstance($className,... $constructorArguments)
$signalSlotDispatcher
$extConf
if(TYPO3_MODE==='BE') $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['frontendEditingController']['default']