From 77aebd7e4a28ba10b07d8ec697cc84cc4a810777 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Oct 2018 21:47:12 +0300 Subject: [PATCH] it was probably not the best idea to use session_regenerate_id() right after session_start(), duh --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 3cd21969d..f5837e51c 100755 --- a/include/functions.php +++ b/include/functions.php @@ -718,8 +718,8 @@ session_commit(); } - session_start(); session_regenerate_id(true); + session_start(); $_SESSION["uid"] = $user_id; $_SESSION["version"] = VERSION_STATIC;