Use SHA-1 for session hash to avoid incompatibility between platforms

This commit is contained in:
Frederic Guillot 2015-12-30 15:15:55 +01:00
parent f998a17e64
commit f69f9b0811
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class SessionManager extends Base
ini_set('session.use_strict_mode', '1');
// Better session hash
ini_set('session.hash_function', '7'); // 7 = sha512 (Fix compatibility issue with FreeBSD)
ini_set('session.hash_function', '1'); // 'sha512' is not compatible with FreeBSD, only MD5 '0' and SHA-1 '1' seems to work
ini_set('session.hash_bits_per_character', 6);
// Set an additional entropy