diff options
author | Andrew Dolgov <[email protected]> | 2005-11-20 12:19:20 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-20 12:19:20 +0100 |
commit | b8aa49bc97bf0de775caf4689e3db3a226a7378a (patch) | |
tree | 78c61a22e0ca9b2f18d127f83953e139c7fb6dc8 /logout.php | |
parent | bffdddd0b0c9d45c6d7b4c03015db554a691ed2c (diff) |
more http auth related fixes, unified login sequence function
Diffstat (limited to 'logout.php')
-rw-r--r-- | logout.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/logout.php b/logout.php index cfc9fd034..7757689dc 100644 --- a/logout.php +++ b/logout.php @@ -2,12 +2,9 @@ session_start(); require_once "config.php"; + require_once "functions.php"; - $_SESSION["uid"] = null; - $_SESSION["name"] = null; - $_SESSION["access_level"] = null; - - session_destroy(); + logout_user(); if (!USE_HTTP_AUTH) { header("Location: login.php"); |