mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 11:39:16 +00:00
cleanup some defined-stuff
This commit is contained in:
@@ -41,7 +41,7 @@ class Db
|
||||
} else if (Config::get(Config::DB_TYPE) == "mysql") {
|
||||
$pdo->query("SET time_zone = '+0:0'");
|
||||
|
||||
if (defined('Config::get(Config::MYSQL_CHARSET)') && Config::get(Config::MYSQL_CHARSET)) {
|
||||
if (Config::get(Config::MYSQL_CHARSET)) {
|
||||
$pdo->query("SET NAMES " . Config::get(Config::MYSQL_CHARSET));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user