TYPO3 CMS  TYPO3_6-2
AdditionalConfiguration.php
Go to the documentation of this file.
1 <?php
2 if (!defined('TYPO3_MODE')) {
3  die('Access denied.');
4 }
5 // You may add PHP code here, wich is executed on every request after the configuration is loaded.
6 // The code here should only manipulate TYPO3_CONF_VARS for example to set the database configuration
7 // dependent to the requested environment.
8 
9 // $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation'] = TRUE;
10 
11 $GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = FALSE;
12 
13 // Register hooks for frontend test
14 if (TYPO3_MODE === 'FE') {
15  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['FunctionalTest'] =
16  'TYPO3\\CMS\\Core\\Tests\\Functional\\Framework\\Frontend\\Hook\\BackendUserHandler->initialize';
17 }
18 ?>
const TYPO3_MODE
Definition: init.php:40
die
Definition: index.php:6
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['FE']['debug']