summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/code/logout.php
diff options
context:
space:
mode:
authorHorus2016-09-27 22:03:13 +0200
committerHorus2016-09-27 22:03:13 +0200
commit4d89a18e0579783bb9a221f71d42630c6d79d3f6 (patch)
tree9700b065cd4cc2e343c6467379323ebc49cf9751 /intern.gospeladlershof.de/code/logout.php
parent350f1679eee7969cf1cf46c35488201619fc2ae0 (diff)
downloadgospeladlershof.de-4d89a18e0579783bb9a221f71d42630c6d79d3f6.tar.gz
Login gebaut + Seite sieht schöner aus.
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/");