diff options
Diffstat (limited to 'mobile/tt-rss.php')
-rw-r--r-- | mobile/tt-rss.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/mobile/tt-rss.php b/mobile/tt-rss.php index 11316d4d3..a8bf6fb5f 100644 --- a/mobile/tt-rss.php +++ b/mobile/tt-rss.php @@ -13,15 +13,7 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (DB_TYPE == "pgsql") { - pg_query("set client_encoding = 'UTF-8'"); - pg_set_client_encoding("UNICODE"); - } else { - if (defined('MYSQL_CHARSET') && MYSQL_CHARSET) { - db_query($link, "SET NAMES " . MYSQL_CHARSET); -// db_query($link, "SET CHARACTER SET " . MYSQL_CHARSET); - } - } + init_connection($link); login_sequence($link, true); |