annotate usrlogout.php @ 511:6fe66ea0e954

Move most of the results code to site module, remove the support for HTML type output.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 08 Dec 2013 02:16:26 +0200
parents 8d4ca15f2fbc
children ed2247111fdd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 <?
155
5b92f130ba87 Add copyright header blurbs.
Matti Hamalainen <ccr@tnsp.org>
parents: 51
diff changeset
2 //
5b92f130ba87 Add copyright header blurbs.
Matti Hamalainen <ccr@tnsp.org>
parents: 51
diff changeset
3 // FAPWeb Simple Demoparty System
5b92f130ba87 Add copyright header blurbs.
Matti Hamalainen <ccr@tnsp.org>
parents: 51
diff changeset
4 // User interface session logout
5b92f130ba87 Add copyright header blurbs.
Matti Hamalainen <ccr@tnsp.org>
parents: 51
diff changeset
5 // (C) Copyright 2012-2013 Tecnic Software productions (TNSP)
5b92f130ba87 Add copyright header blurbs.
Matti Hamalainen <ccr@tnsp.org>
parents: 51
diff changeset
6 //
32
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 $sessionType = "user";
175
8df523e6326a User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents: 155
diff changeset
8 require_once "mconfig.inc.php";
8df523e6326a User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents: 155
diff changeset
9 require_once "msite.inc.php";
234
8d4ca15f2fbc Include msession.
Matti Hamalainen <ccr@tnsp.org>
parents: 175
diff changeset
10 require_once "msession.inc.php";
32
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
234
8d4ca15f2fbc Include msession.
Matti Hamalainen <ccr@tnsp.org>
parents: 175
diff changeset
12
8d4ca15f2fbc Include msession.
Matti Hamalainen <ccr@tnsp.org>
parents: 175
diff changeset
13 //
8d4ca15f2fbc Include msession.
Matti Hamalainen <ccr@tnsp.org>
parents: 175
diff changeset
14 // Initialize
8d4ca15f2fbc Include msession.
Matti Hamalainen <ccr@tnsp.org>
parents: 175
diff changeset
15 //
32
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 stSetupCacheControl();
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17
51
7bdf89601ba0 Work on session stuff.
Matti Hamalainen <ccr@tnsp.org>
parents: 45
diff changeset
18 stSessionEnd(SESS_USER);
32
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19
45
842003d78994 Remove stuff.
Matti Hamalainen <ccr@tnsp.org>
parents: 32
diff changeset
20 header("Location: vote");
32
36392d1d6b5f Moar work.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 ?>