Use SHA-1 for session hash to avoid incompatibility between platforms
This commit is contained in:
@@ -100,7 +100,7 @@ class SessionManager extends Base
|
|||||||
ini_set('session.use_strict_mode', '1');
|
ini_set('session.use_strict_mode', '1');
|
||||||
|
|
||||||
// Better session hash
|
// 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);
|
ini_set('session.hash_bits_per_character', 6);
|
||||||
|
|
||||||
// Set an additional entropy
|
// Set an additional entropy
|
||||||
|
|||||||
Reference in New Issue
Block a user