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