diff options
Diffstat (limited to 'plugins/mobile/article.php')
-rw-r--r-- | plugins/mobile/article.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/mobile/article.php b/plugins/mobile/article.php index f6aed994f..17fc39395 100644 --- a/plugins/mobile/article.php +++ b/plugins/mobile/article.php @@ -18,15 +18,15 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - init_connection($link); + init_plugins($link); - login_sequence($link, true); + login_sequence( true); - $id = db_escape_string($link, $_REQUEST["id"]); - $feed_id = db_escape_string($link, $_REQUEST["feed"]); - $cat_id = db_escape_string($link, $_REQUEST["cat"]); - $is_cat = db_escape_string($link, $_REQUEST["is_cat"]); + $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, $is_cat); + render_article( $id, $feed_id, $cat_id, $is_cat); ?> |