diff options
author | neoraider <devnull@localhost> | 2006-04-13 02:45:02 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-13 02:45:02 +0200 |
commit | 415243607829013d91b23b40608507fcd76b307b (patch) | |
tree | 8199fbaacf2d17fbc4c2efe68a2fb46c386086b3 /pages/Logout.c.xml | |
parent | 0ef2bb0245fedaf18508feabfa980955ba4a238e (diff) | |
download | neon-415243607829013d91b23b40608507fcd76b307b.tar neon-415243607829013d91b23b40608507fcd76b307b.zip |
Seiten-Verwaltung vollkommen ?berarbeitet.
Diffstat (limited to 'pages/Logout.c.xml')
-rw-r--r-- | pages/Logout.c.xml | 27 |
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> |