blob: 8069a3926d7e5a42e041bfeb7865f5cdc99b0cfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?
require_once("../include/Namespace.inc");
require_once("../include/Tools.inc");
require_once("../include/Template.inc");
$namespace = new Namespace(
array( have_database => 1,
have_session => 1,
have_user => 1 )
) or
die("Nobody loves me. I don't even have space for a name.");
$namespace->user->do_logout();
$data = array();
$template = new Template('logout.html', $namespace->config->template_path);
$template->parse($data);
print $template->output();
$namespace->stop();
# vim:set ts=4:
# vim:set shiftwidth=4:
?>
|