style(legacy): fix code format with php-cs-fixer (#1674)
This commit is contained in:
parent
e1dc69af9e
commit
69d8eae845
111 changed files with 1163 additions and 1163 deletions
|
@ -4,9 +4,9 @@ class SessionHelper
|
|||
{
|
||||
public static function reopenSessionForWriting()
|
||||
{
|
||||
//PHP will send double Set-Cookie headers if we reopen the
|
||||
//session for writing, and this breaks IE8 and some other browsers.
|
||||
//This hacky workaround prevents double headers. Background here:
|
||||
// PHP will send double Set-Cookie headers if we reopen the
|
||||
// session for writing, and this breaks IE8 and some other browsers.
|
||||
// This hacky workaround prevents double headers. Background here:
|
||||
// https://bugs.php.net/bug.php?id=38104
|
||||
ini_set('session.cache_limiter', null);
|
||||
session_start(); // Reopen the session for writing (without resending the Set-Cookie header)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue