From 0bb5833beb77e845c7a16b72006276b5f5e7d84b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 11:04:15 +0400 Subject: api: add getFeedTree --- api/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api') diff --git a/api/index.php b/api/index.php index a1143a1dc..50703175b 100644 --- a/api/index.php +++ b/api/index.php @@ -49,6 +49,8 @@ if ($_REQUEST["sid"]) { session_id($_REQUEST["sid"]); @session_start(); + } else if (defined('_API_DEBUG_HTTP_ENABLED')) { + @session_start(); } if (!init_connection($link)) return; -- cgit v1.2.3