fix includes in mobile/backend (closes #411)
This commit is contained in:
parent
487f0750c8
commit
4046fc59d8
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue