1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

Pref for session time added. Modification of PRFLAN_60 and PRFLAN_61

This commit is contained in:
Cameron
2016-12-28 15:03:06 -08:00
parent bb3a8e824e
commit 8af3a0780a
4 changed files with 28 additions and 10 deletions

View File

@@ -205,9 +205,9 @@ class e_session
{
$config['SavePath'] = e107::getPref('session_save_path', false); // FIXME - new pref
$config['SaveMethod'] = e107::getPref('session_save_method', 'files'); // FIXME - new pref
$options['lifetime'] = (integer) e107::getPref('session_lifetime', 86400); // FIXME - new pref
$options['lifetime'] = (integer) e107::getPref('session_lifetime', 86400); //
$options['path'] = e107::getPref('session_cookie_path', ''); // FIXME - new pref
$options['secure'] = e107::getPref('ssl_enabled', false); // FIXME - new pref
$options['secure'] = e107::getPref('ssl_enabled', false); //
}
if(defined('SESSION_SAVE_PATH')) // safer than a pref.