Skip to content

Commit

Permalink
php7.1 session key length fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Çetin authored and Ali Çetin committed Jan 18, 2017
1 parent c198b06 commit cab349e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ protected function configureSidLength()
{
if (PHP_VERSION_ID < 70100)
{
$bits = 160;
$hash_function = ini_get('session.hash_function');
if (ctype_digit($hash_function))
{
Expand Down

0 comments on commit cab349e

Please sign in to comment.