Update core.default.php

Fixing PHP syntax error that appears on PHP 7.4
pull/6439/head^2
nighttardis 2020-10-14 10:17:51 -05:00 committed by GitHub
parent 29cd75719e
commit 39abf9a420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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'
]);
}