From 019d83f3fc57010af403274241c4921ffb184974 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 30 Dec 2015 14:29:00 +0100 Subject: Fix compatiblity issue with FreeBSD for session.hash_function --- app/Core/Session/SessionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Core/Session/SessionManager.php b/app/Core/Session/SessionManager.php index 776d02da..91b3cf10 100644 --- a/app/Core/Session/SessionManager.php +++ b/app/Core/Session/SessionManager.php @@ -100,7 +100,7 @@ class SessionManager extends Base ini_set('session.use_strict_mode', '1'); // Better session hash - ini_set('session.hash_function', 'sha512'); + ini_set('session.hash_function', '7'); // 7 = sha512 (Fix compatibility issue with FreeBSD) ini_set('session.hash_bits_per_character', 6); // Set an additional entropy -- cgit v1.2.3