Use SHA-1 for session hash to avoid incompatibility between platforms
This commit is contained in:
parent
f998a17e64
commit
f69f9b0811
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue