Skip to content

Commit

Permalink
Suppress session_regenerate_id warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed May 21, 2024
1 parent 4703df1 commit 1f17ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/libraries/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ public function sess_regenerate($destroy = null)
{
$destroy = boolval($destroy !== null ? $destroy : config_item('sess_regenerate_destroy'));
$_SESSION['__ci_last_regenerate'] = time();
session_regenerate_id($destroy);
@session_regenerate_id($destroy);
}

// ------------------------------------------------------------------------
Expand Down

0 comments on commit 1f17ae6

Please sign in to comment.