1
0
Fork 0

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

@ -16,6 +16,11 @@ $db_user = 'mysqlusername';
$db_pass = 'mysqlpassword';
$db_data = 'mysqldatabasename';
// 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";
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
// It can be changed later and only applies to timestamps for anonymous viewers.