mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-17 07:37:18 +00:00
Add Global Chat Options
Add Global Chat Options 1. emoji 2. Poll 3. Delete message 4. Edit message
This commit is contained in:
@@ -497,8 +497,13 @@ class MYSQLi_DB implements IDbConnection {
|
||||
));
|
||||
}
|
||||
|
||||
// we will operate in UTF8
|
||||
mysqli_query($this->dblink,"SET NAMES 'UTF8'");
|
||||
// Faza 2 Global Chat (09.09.2026): FIX critic - linia asta rula "SET NAMES
|
||||
// 'UTF8'" (3 octeti/caracter) IMEDIAT dupa connect(), suprascriind
|
||||
// silentios mysqli_set_charset('utf8mb4') facut in connect() (vezi
|
||||
// DatabaseConnectionCore::connect()) - fara aceasta corectie, emoji-urile
|
||||
// din chat_global tot ar fi picat sau ar fi fost trunchiate la INSERT,
|
||||
// desi coloana + conexiunea "pareau" corect setate pe utf8mb4.
|
||||
mysqli_query($this->dblink,"SET NAMES 'utf8mb4'");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user