summaryrefslogtreecommitdiff
path: root/plugins/mobile/home.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-07 10:08:34 +0400
committerAndrew Dolgov <[email protected]>2013-05-07 10:08:34 +0400
commitd88922a5d31062196da6e69ab109079cda8867b2 (patch)
tree30c4a383843cab0b44d086a7898baba823970edc /plugins/mobile/home.php
parent7c433c9412cf0f5a0d582aacd1bed9a1660c866c (diff)
digest and mobile (old) moved to -contrib repository
Diffstat (limited to 'plugins/mobile/home.php')
-rw-r--r--plugins/mobile/home.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/mobile/home.php b/plugins/mobile/home.php
deleted file mode 100644
index 3039635a5..000000000
--- a/plugins/mobile/home.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
- error_reporting(E_ERROR | E_WARNING | E_PARSE);
-
- header('Content-Type: text/html; charset=utf-8');
-
- define('MOBILE_VERSION', true);
-
- $basedir = dirname(dirname(dirname(__FILE__)));
-
- set_include_path(
- dirname(__FILE__) . PATH_SEPARATOR .
- $basedir . PATH_SEPARATOR .
- "$basedir/include" . PATH_SEPARATOR .
- get_include_path());
-
- require_once "config.php";
- require_once "mobile-functions.php";
-
- login_sequence(true);
-
- $use_cats = mobile_get_pref('ENABLE_CATS');
- $offset = (int) db_escape_string($_REQUEST["skip"]);
-
- if ($use_cats) {
- render_categories_list($link);
- } else {
- render_flat_feed_list($offset);
- }
-?>