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

initial (wip) for new prefs

This commit is contained in:
Andrew Dolgov
2021-02-25 09:33:36 +03:00
parent 922a699215
commit 988eb3ac91
4 changed files with 14 additions and 8 deletions

View File

@@ -18,7 +18,9 @@ class UserHelper {
if ($user_id && !$check_only) {
session_start();
if (session_status() != PHP_SESSION_ACTIVE)
session_start();
session_regenerate_id(true);
$_SESSION["uid"] = $user_id;