translate logout message, delete session variable
This commit is contained in:
parent
17e2ec6263
commit
c61da9be95
|
@ -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
|
||||
?>
|
||||
|
||||
<html>
|
||||
|
|
Loading…
Reference in New Issue