diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-10-20 02:17:53 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-10-20 02:17:53 +0000 |
commit | eaacbc7b2d224524eac6def04e9b721949afd4b8 (patch) | |
tree | 76fd94a28037ffc5ff5bafa037e411c0306ea4f0 /include/config_default.inc.php | |
parent | dbadd4defb870c09664ea4178951d72f5d2ada3b (diff) |
- put back config['session_length'] disappeared in r1493 but has always been
used in the code (generates mysql errors on session garbage collector)
- fix auto_login (die mysql when session timed out, but user has remember)
- when a user reconnects from identification.php, the remember cookie was not
deleted
- fix all redirect warnings/errors (many changes - mainly in common.inc.php
and user.inc.php)
- reduced $conf['remember_me_length'] to 60 days, because now at each auto
login the 60 days countdown restarts
git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r-- | include/config_default.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index fb752fae8..c4426d711 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -323,7 +323,10 @@ $conf['remember_me_name'] = 'pwg_remember'; // remember_me_length : time of validity for "remember me" cookies, in // seconds. -$conf['remember_me_length'] = 31536000; +$conf['remember_me_length'] = 5184000; + +// session_length : time of validity for normal session, in seconds. +$conf['session_length'] = 3600; // +-----------------------------------------------------------------------+ // | debug | |