Mercurial > hg > fapweb
annotate login.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 | ea0f98a0bed8 |
rev | line source |
---|---|
0 | 1 <? |
2 require "mconfig.inc.php"; | |
3 require "msite.inc.php"; | |
4 | |
5
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
5 stSetupCacheControl(); |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
6 |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
7 if (stGetRequestItem("admpass", FALSE) == stGetSetting("admPassword")) |
76c3b89d7b11
Improve voting, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
8 stAdmSessionStart(); |
0 | 9 |
10 header("Location: https://".stGetRequestItem("goto")); | |
11 ?> |