‪TYPO3CMS  9.5
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']['EXTCONF']['adminpanel']['modules'] = [
6  'preview' => [
7  'module' => \‪TYPO3\CMS\Adminpanel\Modules\PreviewModule::class,
8  'before' => ['cache'],
9  ],
10  'cache' => [
11  'module' => \‪TYPO3\CMS\Adminpanel\Modules\CacheModule::class,
12  'after' => ['preview'],
13  ],
14  'edit' => [
15  'module' => \‪TYPO3\CMS\Adminpanel\Modules\EditModule::class,
16  'after' => ['cache'],
17  ],
18  'tsdebug' => [
19  'module' => \‪TYPO3\CMS\Adminpanel\Modules\TsDebugModule::class,
20  'after' => ['edit'],
21  'submodules' => [
22  'ts-waterfall' => [
23  'module' => \‪TYPO3\CMS\Adminpanel\Modules\TsDebug\TypoScriptWaterfall::class,
24  ],
25  ],
26  ],
27  'info' => [
28  'module' => \‪TYPO3\CMS\Adminpanel\Modules\InfoModule::class,
29  'after' => ['tsdebug'],
30  'submodules' => [
31  'general' => [
32  'module' => \‪TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::class,
33  ],
34  'request' => [
35  'module' => \‪TYPO3\CMS\Adminpanel\Modules\Info\RequestInformation::class,
36  ],
37  'phpinfo' => [
38  'module' => \‪TYPO3\CMS\Adminpanel\Modules\Info\PhpInformation::class,
39  ],
40  ],
41  ],
42  '‪debug' => [
43  'module' => \‪TYPO3\CMS\Adminpanel\Modules\DebugModule::class,
44  'after' => ['info'],
45  'submodules' => [
46  'log' => [
47  'module' => \‪TYPO3\CMS\Adminpanel\Modules\Debug\Log::class,
48  ],
49  'queryInformation' => [
50  'module' => \‪TYPO3\CMS\Adminpanel\Modules\Debug\QueryInformation::class,
51  ],
52  ],
53  ],
54 ];
55 
56 ‪$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['adminPanel_save']
57  = \‪TYPO3\CMS\Adminpanel\Controller\AjaxController::class . '::saveDataAction';
58 
59 // Only write to InMemoryLog if in frontend and not in CLI mode
60 if (TYPO3_MODE === 'FE' && !\‪TYPO3\CMS\Core\Core\Environment::isCli()) {
61  ‪$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'][‪\TYPO3\CMS\Core\Log\LogLevel::DEBUG][\TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter::class] = [];
62 }
63 
64 if (!is_array(‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['adminpanel_requestcache'])) {
65  ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['adminpanel_requestcache'] = [];
66 }
‪TYPO3
‪debug
‪debug($variable='', $title=null, $group=null)
Definition: GlobalDebugFunctions.php:5
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Core\Log\LogLevel\DEBUG
‪const DEBUG
Definition: LogLevel.php:94