view logout.inc.php @ 20:02ff0c29df8a

s/voter/entry/.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 06 Dec 2012 18:45:43 +0200
parents 76c3b89d7b11
children
line wrap: on
line source

<?
stSetupCacheControl();

if (stSessionEnd(stAdmSessionAuth()))
{
  echo "<h1>Logged out</h1>\n".
  "<p>Have a nice day.</p>\n";
}
else
{
  header("Location: admin");
}
?>