summaryrefslogtreecommitdiffstats
path: root/pages/Logout.c.xml
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-13 02:45:02 +0200
committerneoraider <devnull@localhost>2006-04-13 02:45:02 +0200
commit415243607829013d91b23b40608507fcd76b307b (patch)
tree8199fbaacf2d17fbc4c2efe68a2fb46c386086b3 /pages/Logout.c.xml
parent0ef2bb0245fedaf18508feabfa980955ba4a238e (diff)
downloadneon-415243607829013d91b23b40608507fcd76b307b.tar
neon-415243607829013d91b23b40608507fcd76b307b.zip
Seiten-Verwaltung vollkommen ?berarbeitet.
Diffstat (limited to 'pages/Logout.c.xml')
-rw-r--r--pages/Logout.c.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/pages/Logout.c.xml b/pages/Logout.c.xml
new file mode 100644
index 0000000..4fcb5b2
--- /dev/null
+++ b/pages/Logout.c.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<page>
+ <info>
+ <name>Logout</name>
+ <template>phpexec</template>
+ <access>08</access>
+ <type>c</type>
+ </info>
+ <data>
+ <code>
+ <![CDATA[
+<?PHP
+ require_once('config/config.inc.php');
+
+ require_once('code/user.inc.php');
+ require_once('code/links.inc.php');
+
+ $GLOBALS['user']->Logout();
+
+ header('Location: ' . $GLOBALS['links']->GetNeonLink($GLOBALS['config']['home'], null, false));
+
+ exit();
+?>
+ ]]>
+ </code>
+ </data>
+</page>