This commit is contained in:
grandeljay 2022-09-22 11:54:20 +02:00
parent 3caa71a6c5
commit 6478af7d41

View file

@ -46,15 +46,9 @@ session_start(
array(
'name' => 'wishthis',
'cookie_lifetime' => $sessionLifetime,
'cookie_path' => '/'
)
);
setcookie(
name: session_name(),
value: session_id(),
expires_or_options: time() + $sessionLifetime,
path: '/',
domain: ''
);
/** Backwards compatibility */
if (!isset($_SESSION['user']) || is_array($_SESSION['user'])) {