1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-07 23:38:29 +02:00
This commit is contained in:
Ryan Cramer
2025-01-09 10:20:07 -05:00
parent 54e75701c1
commit be3d17b9c2

View File

@@ -1144,6 +1144,7 @@ class Installer {
$replace['ENGINE=MyISAM'] = "ENGINE=$options[dbEngine]";
$replace['CHARSET=utf8mb4;'] = "CHARSET=$options[dbCharset];";
$replace['CHARSET=utf8;'] = "CHARSET=$options[dbCharset];";
$replace['CHARSET=utf8 COLLATE='] = "CHARSET=$options[dbCharset] COLLATE=";
if(strtolower($options['dbCharset']) === 'utf8mb4') {
if(strtolower($options['dbEngine']) === 'innodb') {