diff logout.inc.php @ 0:8019b357cc03

Initial import.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Dec 2012 19:07:18 +0200
parents
children 76c3b89d7b11
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logout.inc.php	Tue Dec 04 19:07:18 2012 +0200
@@ -0,0 +1,11 @@
+<?
+if (stEndSession())
+{
+  echo "<h1>Logged out</h1>\n".
+  "<p>Have a nice day.</p>\n";
+}
+else
+{
+  header("Location: admin");
+}
+?>
\ No newline at end of file