aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-03 17:38:17 -0700
committerredmatrix <git@macgirvin.com>2016-04-03 17:38:17 -0700
commita703835b5cdbe737be98374a51363426083fee8f (patch)
tree9c561d2add476833c6ea4147ecf69518cad9003e /index.php
parentbf3f3564e08754c3f91524798523839ae7b9094c (diff)
downloadvolse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.gz
volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.bz2
volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.zip
Bug: "remember me" doesn't
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php5
1 files changed, 5 insertions, 0 deletions
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();
/**