mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
fix it, to use definitly utf8*MB4*
This commit is contained in:
parent
96a20267f7
commit
0714af841c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
$passwd = $CONFIG['passwd'],
|
$passwd = $CONFIG['passwd'],
|
||||||
$database = $CONFIG['database']
|
$database = $CONFIG['database']
|
||||||
);
|
);
|
||||||
$mysqli->set_charset("utf8");
|
$mysqli->set_charset("utf8mb4");
|
||||||
if (!is_null($mysqli->connect_error))
|
if (!is_null($mysqli->connect_error))
|
||||||
{
|
{
|
||||||
header("Location: /error/DBConnFailed");
|
header("Location: /error/DBConnFailed");
|
||||||
|
|
Loading…
Reference in a new issue