Suppress session_regenerate_id warning

This commit is contained in:
Alex Tselegidis 2024-05-21 23:53:28 +02:00
parent 4703df1ada
commit 1f17ae6376

View file

@ -695,7 +695,7 @@ class CI_Session {
{
$destroy = boolval($destroy !== null ? $destroy : config_item('sess_regenerate_destroy'));
$_SESSION['__ci_last_regenerate'] = time();
session_regenerate_id($destroy);
@session_regenerate_id($destroy);
}
// ------------------------------------------------------------------------