mirror of https://github.com/MISP/MISP
Update core.default.php
Fixing PHP syntax error that appears on PHP 7.4pull/6439/head^2
parent
29cd75719e
commit
39abf9a420
|
@ -186,8 +186,8 @@ Configure::write('Session', array(
|
|||
|
||||
// Set session cookie SameSite parameter to Lax if this param is supported and no default value is set
|
||||
if (PHP_VERSION_ID >= 70300 && empty(ini_get('session.cookie_samesite'))) {
|
||||
Configure::write('Session.ini', ['
|
||||
session.cookie_samesite' => 'Lax'
|
||||
Configure::write('Session.ini', [
|
||||
'session.cookie_samesite' => 'Lax'
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue