From 4046fc59d80c87496c598a71ad7419a93b2bbb0c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Dec 2011 18:48:41 +0400 Subject: [PATCH] fix includes in mobile/backend (closes #411) --- mobile/backend.php | 11 +++++------ mobile/mobile-functions.php | 8 ++++---- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/mobile/backend.php b/mobile/backend.php index 2e473a37..98e30bd1 100644 --- a/mobile/backend.php +++ b/mobile/backend.php @@ -6,13 +6,12 @@ define('MOBILE_VERSION', true); require_once "../config.php"; - require_once "functions.php"; - require_once "../functions.php"; - - require_once "../sessions.php"; + require_once "mobile-functions.php"; - require_once "../version.php"; - require_once "../db-prefs.php"; + require_once "functions.php"; + require_once "sessions.php"; + require_once "version.php"; + require_once "db-prefs.php"; $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); diff --git a/mobile/mobile-functions.php b/mobile/mobile-functions.php index be59fb7a..c5bc71f8 100644 --- a/mobile/mobile-functions.php +++ b/mobile/mobile-functions.php @@ -4,10 +4,10 @@ dirname(dirname(__FILE__)) . PATH_SEPARATOR . dirname(dirname(__FILE__)) . "/include" ); - require_once "include/functions.php"; - require_once "include/sessions.php"; - require_once "include/version.php"; - require_once "include/db-prefs.php"; + require_once "functions.php"; + require_once "sessions.php"; + require_once "version.php"; + require_once "db-prefs.php"; define('TTRSS_SESSION_NAME', 'ttrss_m_sid'); -- 2.39.5