diff options
author | Andrew Dolgov <[email protected]> | 2012-09-19 12:45:01 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-19 12:45:01 +0400 |
commit | 964f1533719ea43a5075c08dd227a01a47f5b2aa (patch) | |
tree | 5a986b76fba49875908070b8b94f1369c24bd9c7 /include | |
parent | 4864633612ab8619e0f2664474b4dce8e74ac81f (diff) |
api: use tt-rss session storage
Diffstat (limited to 'include')
-rw-r--r-- | include/sessions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sessions.php b/include/sessions.php index 5aeda62ff..e692d1169 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -104,5 +104,7 @@ session_set_cookie_params(SESSION_COOKIE_LIFETIME); - session_start(); + if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') { + session_start(); + } ?> |