]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
fix session write handler always assuming that database entry exists and failing...
[tt-rss.git] / include / functions.php
index 006d17a4887c3683920bd73b2d5bdbaddd8345ef..b290898329a2a0d157455b317d61174d5c47a833 100755 (executable)
 
                        if ($user_id && !$check_only) {
 
-                               session_regenerate_id(true);
                                session_start();
+                               session_regenerate_id(true);
 
                                $_SESSION["uid"] = $user_id;
                                $_SESSION["version"] = VERSION_STATIC;