Skip to content
Snippets Groups Projects
SiteConfiguration.php.erb 1.87 KiB
<?php

$GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'typo3';
$GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'typo3';
$GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'typo3';
$GLOBALS['TYPO3_CONF_VARS']['DB']['host'] = '127.0.0.1';

$typo_db = 'typo3';
$typo_db_username = 'typo3';
$typo_db_password = 'typo3';
$typo_db_host = '127.0.0.1';

// SSL settings for the backend login
//
// Relevant Values:
// - 2 - Enforce SSL
// - 0 - Allow any
$GLOBALS['TYPO3_CONF_VARS']['BE']['lockSSL'] = 2;

// Change install tool password to joh316
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '$P$CCuX8EzzYaSOHJS5o32X9Uk3Vg79ji1';

// show failed sql queries and php errors
$GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = 0;

// change the systemLog location
$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLog'] = 'file,/var/www/typo3.log,3';

// show failed sql queries and php errors
if (!$GLOBALS['TYPO3_DISABLE_DEBUG']) {
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_DLOG'] = 0;
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask'] = '*';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['sqlDebug'] = 1;
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = 1;
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = 0;
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = 'E_ALL ^ E_NOTICE';
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] = 0;
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = 28674;

	// Don't use this in live instances as normal user may not be allowed to clear the dangerous system cache!
	// Use the following setting for dedicated users/groups to give them the permission.
	// options.clearCache.system = 1
	$GLOBALS['TYPO3_CONF_VARS']['SYS']['clearCacheSystem'] = TRUE;
}

// Vagrant specific stuff (if your user has another main group id than 1000, especially required on MacOSX)
$GLOBALS['TYPO3_CONF_VARS']['BE']['createGroup'] = '<%= @group_id %>';

?>