Mercurial > hg > fapweb
annotate logout.inc.php @ 5:76c3b89d7b11
Improve voting, clean up the code, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Dec 2012 08:08:58 +0200 |
parents | 8019b357cc03 |
children |
rev | line source |
---|---|
0 | 1 <? |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
2 stSetupCacheControl(); |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
3 |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
4 if (stSessionEnd(stAdmSessionAuth())) |
0 | 5 { |
6 echo "<h1>Logged out</h1>\n". | |
7 "<p>Have a nice day.</p>\n"; | |
8 } | |
9 else | |
10 { | |
11 header("Location: admin"); | |
12 } | |
13 ?> |