diff options
author | Andrew Dolgov <[email protected]> | 2013-03-28 11:04:15 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-28 11:04:27 +0400 |
commit | 0bb5833beb77e845c7a16b72006276b5f5e7d84b (patch) | |
tree | b3e02147667b0abbd98abdbe065cccf9581f4033 /api/index.php | |
parent | f9432f2630e9340cd6a45842b453d3bf78ace0f7 (diff) |
api: add getFeedTree
Diffstat (limited to 'api/index.php')
-rw-r--r-- | api/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |