X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=mobile%2Farticle.php;h=345767fbda26c82924bd2f4b9ef400b1dd5761de;hb=89faa1df1a95abd14ac1db0d05b408f58a4f4e77;hp=2379e9395949e58be5629c78c6335781c3db2e66;hpb=3e0923463f1cc0ec3943cd7e7d8f1e194a2c9015;p=tt-rss.git diff --git a/mobile/article.php b/mobile/article.php index 2379e939..345767fb 100644 --- a/mobile/article.php +++ b/mobile/article.php @@ -6,13 +6,7 @@ define('MOBILE_VERSION', true); require_once "../config.php"; - require_once "functions.php"; - require_once "../functions.php"; - - require_once "../sessions.php"; - - require_once "../version.php"; - require_once "../db-prefs.php"; + require_once "mobile-functions.php"; $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); @@ -23,7 +17,8 @@ $id = db_escape_string($_REQUEST["id"]); $feed_id = db_escape_string($_REQUEST["feed"]); $cat_id = db_escape_string($_REQUEST["cat"]); + $is_cat = db_escape_string($_REQUEST["is_cat"]); - render_article($link, $id, $feed_id, $cat_id); + render_article($link, $id, $feed_id, $cat_id, $is_cat); ?>