mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
use mysqli_set_charset() to set MYSQL_CHARSET
This commit is contained in:
@@ -76,7 +76,7 @@ class Db_Mysqli implements IDb {
|
||||
$this->query("SET time_zone = '+0:0'");
|
||||
|
||||
if (defined('MYSQL_CHARSET') && MYSQL_CHARSET) {
|
||||
$this->query("SET NAMES " . MYSQL_CHARSET);
|
||||
mysqli_set_charset($this->link, MYSQL_CHARSET);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user