Mercurial > hg > fapweb
view admlogout.php @ 1003:668fd0ea4e08
Add check for request items that might not be strings.
Only "trim" the value if it's a string.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2015 08:03:15 +0200 |
parents | ffacd904fd1f |
children | 76e11ae923a7 |
line wrap: on
line source
<? // // FAPWeb - Simple Web-based Demoparty Management System // Administration interface session logout // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) // $sessionType = "admin"; require_once "mconfig.inc.php"; require_once "msite.inc.php"; require_once "msession.inc.php"; stSetupCacheControl(); stSessionEnd(SESS_ADMIN); header("Location: admin.php"); ?>