view usrlogout.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 7da8bde9b7be
line wrap: on
line source

<?
//
// FAPWeb - Simple Web-based Demoparty Management System
// User interface session logout
// (C) Copyright 2012-2015 Tecnic Software productions (TNSP)
//
$sessionType = "user";
require_once "mconfig.inc.php";
require_once "msite.inc.php";
require_once "msession.inc.php";


//
// Initialize
//
stSetupCacheControl();

stSessionEnd(SESS_USER);

header("Location: vote");
?>