summaryrefslogtreecommitdiff
path: root/app/Core/Controller/BaseMiddleware.php
diff options
context:
space:
mode:
authorkufeiko <kufeiko@gmail.com>2018-07-03 13:31:05 +0300
committerFrédéric Guillot <fred@kanboard.net>2018-07-04 10:22:13 -0700
commitcfada3542eb381093fc381a06d77e60268bad85d (patch)
treee1ddcb3651122cd661a7bdf82f56ad3cc6f75fbb /app/Core/Controller/BaseMiddleware.php
parent8cee04101d351fb5321f225963d589883761d214 (diff)
Use SET NAMES instead of charset for DB connection
When using charset in buildDsn, not all variables are set on the server side. That leads to MySQL assuming latin1 charset and errors with Cyrillic, for example (I figured out the letter 'И', capital breaks the things).
Diffstat (limited to 'app/Core/Controller/BaseMiddleware.php')
0 files changed, 0 insertions, 0 deletions