[TYPO3-english] Re: TYPO3 6, PhpStorm and unit testing

Viktor Livakivskyi invisible.kinder at gmail.com
Tue Aug 20 13:27:04 CEST 2013


Forgot to mention one more problem in my case: I don't have local db installed, so I connect to remote one, therefore my typo3conf/AdditionalConfiguration.php should have been adjusted:

if($_SERVER['SERVER_NAME'] === 'localhost' || is_null($_SERVER['SERVER_NAME'])) {
	$GLOBALS['TYPO3_CONF_VARS']['DB']['host'] = <remote DB host>;
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLog'] = 'file,<path to logfiles dir>\typo3.log,2';
}
else {
// usual processing for remote server
}


More information about the TYPO3-english mailing list