From c61da9be95225b0c18c75ed97ce2db2b56b928cd Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 17 Aug 2003 08:32:18 +0000 Subject: [PATCH] translate logout message, delete session variable --- lam/templates/logout.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lam/templates/logout.php b/lam/templates/logout.php index f057548c..068f97b7 100644 --- a/lam/templates/logout.php +++ b/lam/templates/logout.php @@ -35,15 +35,17 @@ session_save_path("../sess"); @session_start(); // close LDAP connection -$_SESSION["ldap"]->destroy(); +@$_SESSION["ldap"]->destroy(); -// destroy session -session_destroy(); - -// print logout message +setlanguage(); echo $_SESSION['header']; +// destroy session +session_destroy(); +unset($_SESSION); + +// print logout message ?>