chg: version bump and changed default session engine to php

pull/1882/head
iglocska 2017-01-31 10:38:19 +01:00
parent 5d004e934d
commit 3509caf198
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
{"major":2, "minor":4, "hotfix":62}
{"major":2, "minor":4, "hotfix":63}

View File

@ -177,7 +177,7 @@ define('LOG_ERROR', LOG_ERR);
*/
Configure::write('Session', array(
'timeout' => 60, // Session timeout, default is 1 hour
'defaults' => 'database',
'defaults' => 'php',
'autoRegenerate' => true
));

View File

@ -923,7 +923,7 @@ class Server extends AppModel {
),
'defaults' => array(
'level' => 0,
'description' => 'The session type used by MISP. The default setting is database, which will use the MySQL tables for the session data (supported options: database, php). The recommended option is php and setting your PHP up to use redis sessions via your php.ini. Just add \'session.save_handler = redis\' and "session.save_path = \'tcp://localhost:6379\'" (replace the latter with your redis connection) to ',
'description' => 'The session type used by MISP. The default setting is php, which will use the session settings configured in php.ini for the session data (supported options: php, database). The recommended option is php and setting your PHP up to use redis sessions via your php.ini. Just add \'session.save_handler = redis\' and "session.save_path = \'tcp://localhost:6379\'" (replace the latter with your redis connection) to ',
'value' => '',
'errorMessage' => '',
'test' => 'testForSessionDefaults',