mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 09:34:26 +02:00
Session - Remove unneeded cookie parameter
This commit is contained in:
parent
ae0421f321
commit
673c4537e4
4 changed files with 5 additions and 23 deletions
|
@ -11,10 +11,8 @@ use SessionHandlerInterface;
|
|||
*/
|
||||
final class Native extends AbstractSession implements ISession
|
||||
{
|
||||
public function __construct(App\BaseURL $baseURL, Cookie $cookie, SessionHandlerInterface $handler = null)
|
||||
public function __construct(App\BaseURL $baseURL, SessionHandlerInterface $handler = null)
|
||||
{
|
||||
parent::__construct($cookie);
|
||||
|
||||
ini_set('session.gc_probability', 50);
|
||||
ini_set('session.use_only_cookies', 1);
|
||||
ini_set('session.cookie_httponly', (int)Cookie::HTTPONLY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue