]> git.wh0rd.org - tt-rss.git/blob - mobile/cat.php
overall directory tree cleanup
[tt-rss.git] / mobile / cat.php
1 <?php
2 error_reporting(E_ERROR | E_WARNING | E_PARSE);
3
4 header('Content-Type: text/html; charset=utf-8');
5
6 define('MOBILE_VERSION', true);
7
8 require_once "../config.php";
9 require_once "mobile-functions.php";
10
11 $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
12
13 init_connection($link);
14
15 login_sequence($link, true);
16
17 $cat_id = db_escape_string($_REQUEST["id"]);
18
19 render_category($link, $cat_id);
20 ?>
21