summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-10-15 21:47:12 +0300
committerAndrew Dolgov <[email protected]>2018-10-15 21:47:12 +0300
commit77aebd7e4a28ba10b07d8ec697cc84cc4a810777 (patch)
tree9784ac81d9910ab19147909eaba85f34687bf85d /include
parent5feed36a3cfab485dc56299b3c0e5721378453ea (diff)
it was probably not the best idea to use session_regenerate_id() right after session_start(), duh
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php2
1 files changed, 1 insertions, 1 deletions
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;