Mercurial > hg > fapweb
annotate admlogout.php @ 1096:bbc0a3d0b51e
Major renaming / refactor of site messages. Some that were previously
modifiable from admin interface are now "hardcoded" in the configuration
file. Having these settings made modifiable from there made no sense
and just took space in the UI.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Jan 2017 22:15:06 +0200 |
parents | 7da8bde9b7be |
children |
rev | line source |
---|---|
1071 | 1 <?php |
136 | 2 // |
571
ce11ea112a65
Change the header blurb a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
3 // FAPWeb - Simple Web-based Demoparty Management System |
136 | 4 // Administration interface session logout |
1072 | 5 // (C) Copyright 2012-2017 Tecnic Software productions (TNSP) |
136 | 6 // |
32 | 7 $sessionType = "admin"; |
175
8df523e6326a
User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
8 require_once "mconfig.inc.php"; |
8df523e6326a
User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
9 require_once "msite.inc.php"; |
8df523e6326a
User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
10 require_once "msession.inc.php"; |
32 | 11 |
12 stSetupCacheControl(); | |
13 | |
51 | 14 stSessionEnd(SESS_ADMIN); |
32 | 15 |
236
59e9bacd604c
Change logout forward page.
Matti Hamalainen <ccr@tnsp.org>
parents:
175
diff
changeset
|
16 header("Location: admin.php"); |
32 | 17 ?> |