mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
bug fixes galore
This commit is contained in:
parent
62b7b149c1
commit
557da2847e
13 changed files with 148 additions and 67 deletions
|
@ -92,7 +92,7 @@ func Check(runtime *env.Runtime) bool {
|
|||
}
|
||||
|
||||
{ // check the MySQL character set and collation
|
||||
if charset != "utf8" {
|
||||
if charset != "utf8" && charset != "utf8mb4" {
|
||||
runtime.Log.Error("MySQL character set not utf8:", errors.New(charset))
|
||||
web.SiteInfo.Issue = "MySQL character set not utf8: " + charset
|
||||
runtime.Flags.SiteMode = env.SiteModeBadDB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue