diff options
author | Simon Rettberg | 2015-03-09 18:08:15 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-03-09 18:08:15 +0100 |
commit | dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3 (patch) | |
tree | 5d9230b6ba937a272d4e966c9348238667da22f9 /inc/session.inc.php | |
parent | Fourth Commit (diff) | |
download | bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.tar.gz bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.tar.xz bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.zip |
+AGB, +DeleteUser feature
Diffstat (limited to 'inc/session.inc.php')
-rw-r--r-- | inc/session.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/session.inc.php b/inc/session.inc.php index 6718006..891a465 100644 --- a/inc/session.inc.php +++ b/inc/session.inc.php @@ -86,7 +86,7 @@ class Session { if (self::$sid === false) return; Database::exec('DELETE FROM websession WHERE sid = :sid', array('sid' => self::$sid)); - @setcookie('sid', '', time() - 8640000, null, null, !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off', true); + @setcookie('sid', '', time() - CONFIG_SESSION_TIMEOUT, null, null, !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off', true); self::$sid = false; self::$data = false; } |