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();
|
@session_start();
|
||||||
|
|
||||||
// close LDAP connection
|
// close LDAP connection
|
||||||
$_SESSION["ldap"]->destroy();
|
@$_SESSION["ldap"]->destroy();
|
||||||
|
|
||||||
// destroy session
|
setlanguage();
|
||||||
session_destroy();
|
|
||||||
|
|
||||||
// print logout message
|
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
|
|
||||||
|
// destroy session
|
||||||
|
session_destroy();
|
||||||
|
unset($_SESSION);
|
||||||
|
|
||||||
|
// print logout message
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
|
|
Loading…
Reference in New Issue