diff options
-rw-r--r-- | include/session.php | 1 | ||||
-rwxr-xr-x | index.php | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/session.php b/include/session.php index 82f82a9b9..4a7c8052e 100644 --- a/include/session.php +++ b/include/session.php @@ -67,6 +67,7 @@ function new_cookie($time) { } setcookie('jsAvailable', $_COOKIE['jsAvailable'], $expires); } + setcookie(session_name(),session_id(),$expires); } @@ -84,11 +84,6 @@ if(! App::$install) { * */ -/* session_set_cookie_params() needs to happen before session_start() */ - -if($_POST['remember_me']) - session_set_cookie_params(31556926); - session_start(); /** |