aaron-enders
5/23/2018 - 7:52 AM

TYPO3 local development overrides

TYPO3 local development overrides

<?php
//TYPO3 local development overrides
if( in_array( $_SERVER['REMOTE_ADDR'], array( '127.0.0.1', '::1' ) ) ) {
	$GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'exampledb';
	$GLOBALS['TYPO3_CONF_VARS']['DB']['host']     = 'localhost';
	$GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'root';
	$GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = '';

	$GLOBALS['TYPO3_CONF_VARS']['BE']['debug'] = '1';
        $GLOBALS['TYPO3_CONF_VARS']['BE']['loginSecurityLevel'] = 'normal';

	$GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = '1';

	$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path'] = 'C:\\imageMagick\\';
	$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path_lzw'] = 'C:\\imageMagick\\';

	$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = 'smtp';
	$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_server'] = 'localhost:25';

	$GLOBALS['TYPO3_CONF_VARS']['SYS']['cookieDomain'] = 'example.lc';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = '1';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['sqlDebug'] = '1';


	$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = '1';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_errorDLOG'] = '1';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_exceptionDLOG'] = '1';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['sqlDebug'] = '1';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_DLOG'] = '1';
	$GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = '1';
}
?>