Silence php 7.2 error message generated in `session_set_cookie_params`.
This commit is contained in:
parent
ddf9227dc4
commit
88ced02622
|
@ -670,9 +670,9 @@ class Handler_Public extends Handler {
|
|||
$remember_me = clean($_POST["remember_me"]);
|
||||
|
||||
if ($remember_me) {
|
||||
session_set_cookie_params(SESSION_COOKIE_LIFETIME);
|
||||
@session_set_cookie_params(SESSION_COOKIE_LIFETIME);
|
||||
} else {
|
||||
session_set_cookie_params(0);
|
||||
@session_set_cookie_params(0);
|
||||
}
|
||||
|
||||
if (authenticate_user($login, $password)) {
|
||||
|
|
Loading…
Reference in New Issue