1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Increased session to 24 hours (prevent being logged-out every hour).

Recursive chmod added to Database Tools for correcting folder and file perms.
This commit is contained in:
CaMer0n
2012-08-05 10:06:01 +00:00
parent a739be4176
commit c7c9bfe517
3 changed files with 98 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ class e_session
* @var array
*/
protected $_options = array(
'lifetime' => 3600, // 1 hour
'lifetime' => 3600 , // 1 hour
'path' => '',
'domain' => '',
'secure' => false,
@@ -203,7 +203,7 @@ 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', 3600); // FIXME - new pref
$options['lifetime'] = (integer) e107::getPref('session_lifetime', 86400); // FIXME - new pref
$options['path'] = e107::getPref('session_cookie_path', ''); // FIXME - new pref
$options['secure'] = e107::getPref('ssl_enabled', false); // FIXME - new pref
}