mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
migrate the rest into Config::
This commit is contained in:
@@ -41,8 +41,8 @@ class Db
|
||||
} else if (Config::get(Config::DB_TYPE) == "mysql") {
|
||||
$pdo->query("SET time_zone = '+0:0'");
|
||||
|
||||
if (defined('MYSQL_CHARSET') && MYSQL_CHARSET) {
|
||||
$pdo->query("SET NAMES " . MYSQL_CHARSET);
|
||||
if (defined('Config::get(Config::MYSQL_CHARSET)') && Config::get(Config::MYSQL_CHARSET)) {
|
||||
$pdo->query("SET NAMES " . Config::get(Config::MYSQL_CHARSET));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user