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 ?>