]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix includes in mobile/backend (closes #411)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 30 Dec 2011 14:48:41 +0000 (18:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 30 Dec 2011 14:48:41 +0000 (18:48 +0400)
mobile/backend.php
mobile/mobile-functions.php

index 2e473a37533f6701502b35435074d6597d1c4c33..98e30bd13b58762d1fa0d31b2e51ef7a39ef3dea 100644 (file)
@@ -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);
 
index be59fb7aaa3dd6602c6b8d604a9a81d58d5864ac..c5bc71f80476bbc5217f75924891f02523460b15 100644 (file)
@@ -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');