Mercurial > hg > fapweb
view admlogin.php @ 71:d74fb8cf0062
Adjust attendee output again, we're separating vote keys from there once more. Durr.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 Oct 2013 09:33:16 +0300 |
parents | 7bdf89601ba0 |
children | aeebfedb5709 |
line wrap: on
line source
<? $sessionType = "admin"; require "mconfig.inc.php"; require "msite.inc.php"; require "msession.inc.php"; stSetupCacheControl(); $password = stGetSetting("admPassword"); if (stGetRequestItem("admpass", FALSE) == $password) { if (!stSessionStart(SESS_ADMIN, $password, "admTimeout")) error_log("Admin session AUTH LOGIN failed (session setup)"); } else { error_log("Admin session AUTH LOGIN failed (password)"); } header("Location: admin"); ?>