view logout.inc.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
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");
}
?>