fix plugins/mobile
This commit is contained in:
parent
01568557b5
commit
d10e0993b5
8 changed files with 3 additions and 28 deletions
|
@ -16,10 +16,6 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "mobile-functions.php";
|
require_once "mobile-functions.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
login_sequence(true);
|
login_sequence(true);
|
||||||
|
|
||||||
$id = db_escape_string($_REQUEST["id"]);
|
$id = db_escape_string($_REQUEST["id"]);
|
||||||
|
|
|
@ -21,10 +21,6 @@
|
||||||
require_once "version.php";
|
require_once "version.php";
|
||||||
require_once "db-prefs.php";
|
require_once "db-prefs.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
if (!$_SESSION["uid"]) return;
|
if (!$_SESSION["uid"]) return;
|
||||||
|
|
||||||
$op = $_REQUEST["op"];
|
$op = $_REQUEST["op"];
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "mobile-functions.php";
|
require_once "mobile-functions.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
login_sequence(true);
|
login_sequence(true);
|
||||||
|
|
||||||
$cat_id = db_escape_string($_REQUEST["id"]);
|
$cat_id = db_escape_string($_REQUEST["id"]);
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "mobile-functions.php";
|
require_once "mobile-functions.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
login_sequence(true);
|
login_sequence(true);
|
||||||
|
|
||||||
$feed_id = db_escape_string($_REQUEST["id"]);
|
$feed_id = db_escape_string($_REQUEST["id"]);
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "mobile-functions.php";
|
require_once "mobile-functions.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
login_sequence(true);
|
login_sequence(true);
|
||||||
|
|
||||||
$use_cats = mobile_get_pref('ENABLE_CATS');
|
$use_cats = mobile_get_pref('ENABLE_CATS');
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "mobile-functions.php";
|
require_once "mobile-functions.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
login_sequence(true);
|
login_sequence(true);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
require_once "autoload.php";
|
||||||
require_once "functions.php";
|
require_once "functions.php";
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
require_once "version.php";
|
require_once "version.php";
|
||||||
require_once "db-prefs.php";
|
require_once "db-prefs.php";
|
||||||
|
|
||||||
|
init_plugins();
|
||||||
|
|
||||||
define('TTRSS_SESSION_NAME', 'ttrss_m_sid');
|
define('TTRSS_SESSION_NAME', 'ttrss_m_sid');
|
||||||
|
|
||||||
/* TODO replace with interface to db-prefs */
|
/* TODO replace with interface to db-prefs */
|
||||||
|
|
|
@ -18,10 +18,6 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "mobile-functions.php";
|
require_once "mobile-functions.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
init_plugins($link);
|
|
||||||
|
|
||||||
login_sequence(true);
|
login_sequence(true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue