9aa9b21197a39ac46372d0f92bcefefcc8471e0f
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Frontend / AdditionalConfiguration.php
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']['BE']['explicitConfirmationOfTranslation'] = TRUE;
9
10 $GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = false;
11
12 // Register hooks for frontend test
13 if (TYPO3_MODE === 'FE') {
14 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']['FunctionalTest'] =
15 \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\FrontendUserHandler::class . '->initialize';
16 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['FunctionalTest'] =
17 \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\BackendUserHandler::class . '->initialize';
18 }