mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
logout für wawi
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
session_start();
|
||||
session_destroy();
|
||||
|
||||
$hostname = $_SERVER['HTTP_HOST'];
|
||||
$path = dirname($_SERVER['PHP_SELF']);
|
||||
|
||||
echo "Sie wurden erfolgreich ausgeloggt!!<br> Sie werden sofort weitergeleitet! ";
|
||||
|
||||
// header('Location: http://'.$hostname.($path == '/' ? '' : $path).'/login.php');
|
||||
?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>logout</title>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"></script>
|
||||
<script> function login() {
|
||||
document.location="login.php";
|
||||
|
||||
}
|
||||
window.setTimeout("login()", 3000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user