"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Http/Session.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

Session.php  (cakephp-4.0.1):Session.php  (cakephp-4.0.2)
skipping to change at line 181 skipping to change at line 181
'engine' => 'DatabaseSession', 'engine' => 'DatabaseSession',
], ],
], ],
]; ];
if (isset($defaults[$name])) { if (isset($defaults[$name])) {
if ( if (
PHP_VERSION_ID >= 70300 PHP_VERSION_ID >= 70300
&& ($name !== 'php' || empty(ini_get('session.cookie_samesite')) ) && ($name !== 'php' || empty(ini_get('session.cookie_samesite')) )
) { ) {
$defaults['php']['ini']['session.cookie_samesite'] = 'Strict'; $defaults['php']['ini']['session.cookie_samesite'] = 'Lax';
} }
return $defaults[$name]; return $defaults[$name];
} }
return false; return false;
} }
/** /**
* Constructor. * Constructor.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)