mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-29 14:41:28 +00:00
wip: flavor icon caching
This commit is contained in:
@@ -14,6 +14,11 @@ class Db
|
||||
ORM::configure('username', Config::get(Config::DB_USER));
|
||||
ORM::configure('password', Config::get(Config::DB_PASS));
|
||||
ORM::configure('return_result_sets', true);
|
||||
|
||||
ORM::configure('id_column_overrides', array(
|
||||
'ttrss_user_entries' => 'int_id'
|
||||
));
|
||||
|
||||
if (Config::get(Config::DB_TYPE) == "mysql" && Config::get(Config::MYSQL_CHARSET)) {
|
||||
ORM::configure('driver_options', array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES ' . Config::get(Config::MYSQL_CHARSET)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user