fix includes in mobile/backend (closes #411)

This commit is contained in:
Andrew Dolgov 2011-12-30 18:48:41 +04:00
parent 487f0750c8
commit 4046fc59d8
2 changed files with 9 additions and 10 deletions

View File

@ -6,13 +6,12 @@
define('MOBILE_VERSION', true); define('MOBILE_VERSION', true);
require_once "../config.php"; require_once "../config.php";
require_once "mobile-functions.php";
require_once "functions.php"; require_once "functions.php";
require_once "../functions.php"; require_once "sessions.php";
require_once "version.php";
require_once "../sessions.php"; require_once "db-prefs.php";
require_once "../version.php";
require_once "../db-prefs.php";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);

View File

@ -4,10 +4,10 @@
dirname(dirname(__FILE__)) . PATH_SEPARATOR . dirname(dirname(__FILE__)) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . "/include" ); dirname(dirname(__FILE__)) . "/include" );
require_once "include/functions.php"; require_once "functions.php";
require_once "include/sessions.php"; require_once "sessions.php";
require_once "include/version.php"; require_once "version.php";
require_once "include/db-prefs.php"; require_once "db-prefs.php";
define('TTRSS_SESSION_NAME', 'ttrss_m_sid'); define('TTRSS_SESSION_NAME', 'ttrss_m_sid');