aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/parameters.yml.dist
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-01 10:52:13 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-22 13:13:07 +0200
commit98efffc2a62820bad347a0f93840c48fa57f8cc3 (patch)
tree6f981e7bd2a0ac2d17d9f8026ccc7c2b8ff7800e /app/config/parameters.yml.dist
parent206bade58a279d7f2e34c2dbada10366b90d2d6b (diff)
downloadwallabag-98efffc2a62820bad347a0f93840c48fa57f8cc3.tar.gz
wallabag-98efffc2a62820bad347a0f93840c48fa57f8cc3.tar.zst
wallabag-98efffc2a62820bad347a0f93840c48fa57f8cc3.zip
Fix emoji insertion in MySQL
Switch to utf8mb4 instead of utf8 because f*** MySQL See https://github.com/doctrine/dbal/pull/851
Diffstat (limited to 'app/config/parameters.yml.dist')
-rw-r--r--app/config/parameters.yml.dist14
1 files changed, 8 insertions, 6 deletions
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist
index ece4903a..a33ea37b 100644
--- a/app/config/parameters.yml.dist
+++ b/app/config/parameters.yml.dist
@@ -19,16 +19,18 @@ parameters:
19 database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite" 19 database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
20 database_table_prefix: wallabag_ 20 database_table_prefix: wallabag_
21 database_socket: null 21 database_socket: null
22 # with MySQL, use "utf8mb4" if got problem with content with emojis
23 database_charset: utf8
22 24
23 mailer_transport: smtp 25 mailer_transport: smtp
24 mailer_host: 127.0.0.1 26 mailer_host: 127.0.0.1
25 mailer_user: ~ 27 mailer_user: ~
26 mailer_password: ~ 28 mailer_password: ~
27 29
28 locale: en 30 locale: en
29 31
30 # A secret key that's used to generate certain security-related tokens 32 # A secret key that's used to generate certain security-related tokens
31 secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv 33 secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv
32 34
33 # two factor stuff 35 # two factor stuff
34 twofactor_auth: true 36 twofactor_auth: true