$db = new dba($dbhost, $dbuser, $dbpass, '', true);
if(! get_db_errno()) {
- $r = q("CREATE DATABASE '%s'",
+ $r = q("CREATE DATABASE '%s' DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci",
dbesc($dbdata)
);
if ($r) {
$ck_funcs[6]['status'] = false;
$ck_funcs[6]['help'] = t('Error, XML PHP module required but not installed.');
}
-
- /*if((x($_SESSION,'sysmsg')) && is_array($_SESSION['sysmsg']) && count($_SESSION['sysmsg']))
- notice( t('Please see the file "INSTALL.txt".') . EOL);*/
}