mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 22:45:18 +00:00
Update mysql.class.php
Full UTF-8 support. Update MySQL plugin and web UI to allow storage and display of emojis.
This commit is contained in:
parent
219eb34322
commit
7d67bd87ac
1 changed files with 4 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ Simple Database Class (C) by Bastian Schroll
|
|||
$this->error("Datenbank nicht gefunden!", mysqli_error($this->conn));
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Set character set for database connection to utf8mb4 */
|
||||
mysqli_query($this->conn, "SET NAMES 'utf8mb4'");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue