meowboard/logout.php

8 lines
232 B
PHP
Raw Normal View History

2023-10-06 14:48:06 +01:00
<?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">';
?>