25a7a77805eea440919d50327d4196727cd08e81
[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, wich 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/index_ts.php']['postBeUser']['FunctionalTest'] =
15 \TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Hook\BackendUserHandler::class . '->initialize';
16 }