summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/code/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'intern.gospeladlershof.de/code/logout.php')
-rw-r--r--intern.gospeladlershof.de/code/logout.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/intern.gospeladlershof.de/code/logout.php b/intern.gospeladlershof.de/code/logout.php
new file mode 100644
index 0000000..c292bc8
--- /dev/null
+++ b/intern.gospeladlershof.de/code/logout.php
@@ -0,0 +1,9 @@
+<?php
+
+define("LOGIN_SITE", true);
+require_once __DIR__ . '/session.php';
+
+session_destroy();
+
+header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect");
+header("Location: https://www.gospeladlershof.de/");