From a703835b5cdbe737be98374a51363426083fee8f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 3 Apr 2016 17:38:17 -0700 Subject: Bug: "remember me" doesn't --- index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index a6ed3dbc6..a9a55dca7 100755 --- a/index.php +++ b/index.php @@ -84,6 +84,11 @@ if(! App::$install) { * */ +/* session_set_cookie_params() needs to happen before session_start() */ + +if($_POST['remember_me']) + session_set_cookie_params(31556926); + session_start(); /** -- cgit v1.2.3