From 8412c16636ac053ade7db2f45fc523b8adc13277 Mon Sep 17 00:00:00 2001
From: Stefan Galinski <stefan@sgalinski.de>
Date: Tue, 2 Aug 2016 23:38:55 +0200
Subject: [PATCH] [TASK] Add the database port to the site configuration

---
 templates/default/SiteConfiguration.php.erb | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/templates/default/SiteConfiguration.php.erb b/templates/default/SiteConfiguration.php.erb
index 68986df..44908ee 100644
--- a/templates/default/SiteConfiguration.php.erb
+++ b/templates/default/SiteConfiguration.php.erb
@@ -4,6 +4,7 @@ $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';
+$GLOBALS['TYPO3_CONF_VARS']['DB']['port'] = '3306';
 
 $typo_db = 'typo3';
 $typo_db_username = 'typo3';
@@ -20,9 +21,6 @@ $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';
 
@@ -32,7 +30,7 @@ if (!$GLOBALS['TYPO3_DISABLE_DEBUG']) {
 	$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']['enableDeprecationLog'] = 1;
 	$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = 'E_ALL ^ E_NOTICE';
 	$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] = 0;
 	$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = 28674;
@@ -45,5 +43,3 @@ if (!$GLOBALS['TYPO3_DISABLE_DEBUG']) {
 
 // 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 %>';
-
-?>
-- 
GitLab