1
0
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:
Andrew Dolgov
2021-03-15 22:29:03 +03:00
parent 1870fe172b
commit 77924a6286
12 changed files with 108 additions and 32 deletions

View File

@@ -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)));
}