meowboard/logout.php
2023-10-06 14:48:06 +01:00

7 lines
232 B
PHP

<?php
include 'include/db.php';
if (isset($_COOKIE["meowboardSession"])) { deleteSessionToken($_COOKIE["meowboardSession"]); }
setcookie("meowboardSession", "", 1);
echo '<meta http-equiv="refresh" content="0; url=index.php">';
?>