summaryrefslogtreecommitdiffstats
path: root/inc/session.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-10 13:46:12 +0100
committerSimon Rettberg2023-01-10 13:46:12 +0100
commit242b7e40536c4c027a3091f27f6a9a915de9a0cf (patch)
tree4d0961a3a5c154fbb5e71913bcd39d42d3030e5a /inc/session.inc.php
parent[statistics] Add hint regarding blue tint of usage graph (diff)
downloadslx-admin-242b7e40536c4c027a3091f27f6a9a915de9a0cf.tar.gz
slx-admin-242b7e40536c4c027a3091f27f6a9a915de9a0cf.tar.xz
slx-admin-242b7e40536c4c027a3091f27f6a9a915de9a0cf.zip
[inc/Session] Fix default parameters to setcookie()
Diffstat (limited to 'inc/session.inc.php')
-rw-r--r--inc/session.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/session.inc.php b/inc/session.inc.php
index f2cb1848..1c20c8a6 100644
--- a/inc/session.inc.php
+++ b/inc/session.inc.php
@@ -160,7 +160,7 @@ class Session
if ($cookie) {
self::$updateSessionDateline = true;
$ret = setcookie('sid', self::$sid, time() + CONFIG_SESSION_TIMEOUT,
- null, null, !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off', true);
+ '', '', !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off', true);
if (!$ret)
ErrorHandler::traceError('Error: Could not set Cookie for Client (headers already sent)');
}