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 }
5 
6 // Register extension list update task
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Extensionmanager\\Task\\UpdateExtensionListTask'] = 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 if (TYPO3_MODE === 'BE') {
15  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'TYPO3\\CMS\\Extensionmanager\\Command\\ExtensionCommandController';
16  if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
17  $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
18  $signalSlotDispatcher->connect(
19  'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService',
20  'willInstallExtensions',
21  'TYPO3\\CMS\\Core\\Package\\PackageManager',
22  'scanAvailablePackages'
23  );
24  $signalSlotDispatcher->connect(
25  'TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility',
26  'tablesDefinitionIsBeingBuilt',
27  'TYPO3\\CMS\\Core\\Cache\\Cache',
28  'addCachingFrameworkRequiredDatabaseSchemaToTablesDefinition'
29  );
30  $signalSlotDispatcher->connect(
31  'TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility',
32  'tablesDefinitionIsBeingBuilt',
33  'TYPO3\\CMS\\Core\\Category\\CategoryRegistry',
34  'addExtensionCategoryDatabaseSchemaToTablesDefinition'
35  );
36  }
37 }
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'][]