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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user