diff options
author | Andrew Dolgov <[email protected]> | 2018-10-16 14:07:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-10-16 14:07:42 +0300 |
commit | 5f66f872b6ddf5d3b70504fd870e6c4de69c1d19 (patch) | |
tree | 47663f70519a59e342a9ec66bef25b8c32f6cd76 /include/functions.php | |
parent | d246fb9fe1f18eb98037758f1b7369b34258fbf7 (diff) |
fix session write handler always assuming that database entry exists and failing silently if it doesn't; remove session cookie-related hacks
Diffstat (limited to 'include/functions.php')
-rwxr-xr-x | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 006d17a48..b29089832 100755 --- a/include/functions.php +++ b/include/functions.php @@ -714,8 +714,8 @@ if ($user_id && !$check_only) { - session_regenerate_id(true); session_start(); + session_regenerate_id(true); $_SESSION["uid"] = $user_id; $_SESSION["version"] = VERSION_STATIC; |