TYPO3 CMS  TYPO3_7-6
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, 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/class.tslib_fe.php']['initFEuser']['FunctionalTest'] =
15  \TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Hook\FrontendUserHandler::class . '->initialize';
16  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['FunctionalTest'] =
17  \TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Hook\BackendUserHandler::class . '->initialize';
18 }
$GLOBALS['TYPO3_CONF_VARS']['FE']['debug']
if(!defined("DB_ERROR")) define("DB_ERROR"
debug($variable='', $name=' *variable *', $line=' *line *', $file=' *file *', $recursiveDepth=3, $debugLevel='E_DEBUG')