Set the charset for the SQL connection for new installations

This commit is contained in:
Michael Vogel 2016-09-01 03:50:41 +00:00
commit 9209d88c4a
3 changed files with 29 additions and 4 deletions

View file

@ -15,6 +15,11 @@ $db_user = '{{$dbuser}}';
$db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}';
// Set the database connection charset to UTF8.
// Changing this value will likely corrupt the special characters.
// You have been warned.
$a->config['system']['db_charset'] = "utf8mb4";
// email adress for the system admin
$a->config['admin_email'] = '{{$adminmail}}';