1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

only autostart session if login cookie exists

This commit is contained in:
Andrew Dolgov
2013-03-28 08:06:21 +04:00
parent f820f205d0
commit 5160620c8a
4 changed files with 8 additions and 3 deletions

View File

@@ -46,10 +46,9 @@
if ($_REQUEST["sid"]) {
session_id($_REQUEST["sid"]);
@session_start();
}
@session_start();
if (!init_connection($link)) return;
$method = strtolower($_REQUEST["op"]);