24 lines
460 B
PHP
Executable File
24 lines
460 B
PHP
Executable File
<?php
|
|
// *** Logout the current user.
|
|
$logoutGoTo = "../index.php";
|
|
if (!isset($_SESSION)) {
|
|
session_start();
|
|
}
|
|
$_SESSION['MM_Username'] = NULL;
|
|
$_SESSION['MM_UserGroup'] = NULL;
|
|
unset($_SESSION['MM_Username']);
|
|
unset($_SESSION['MM_UserGroup']);
|
|
if ($logoutGoTo != "") {header("Location: $logoutGoTo");
|
|
exit;
|
|
}
|
|
?>
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Documento sem título</title>
|
|
</head>
|
|
|
|
<body>
|
|
</body>
|
|
</html>
|