bigly-chat/docs/logout.php
2025-02-05 01:27:45 -05:00

12 lines
221 B
PHP
Executable file

<?php
require(__DIR__ . "/../libs/page.php");
page_header();
if (isset($_COOKIE)) {
foreach ($_COOKIE as $key => $value) {
setcookie($key, false);
}
header("Location: /");
die();
}
page_footer();