‪TYPO3CMS  9.5
AdditionalConfiguration.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // You may add PHP code here, which is executed on every request after the configuration is loaded.
5 // The code here should only manipulate TYPO3_CONF_VARS for example to set the database configuration
6 // dependent to the requested environment.
7 
8 ‪$GLOBALS['TYPO3_CONF_VARS']['FE']['‪debug'] = false;
9 
10 // Register hooks for frontend test
11 if (TYPO3_MODE === 'FE') {
12  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']['FunctionalTest'] =
13  \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\FrontendUserHandler::class . '->initialize';
14  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['FunctionalTest'] =
15  \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\BackendUserHandler::class . '->initialize';
16  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Core/TypoScript/TemplateService']['runThroughTemplatesPostProcessing']['FunctionalTest'] =
17  \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\TypoScriptInstructionModifier::class . '->apply';
18 }
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['FE']['debug']
Definition: AdditionalConfiguration.php:8
‪debug
‪debug($variable='', $title=null, $group=null)
Definition: GlobalDebugFunctions.php:5