7 lines
167 B
PHP
7 lines
167 B
PHP
<?php
|
|
setcookie("token", "", 0);
|
|
require_once('inc/database.php');
|
|
$db = new DataBase();
|
|
$db->tokenRemove(base64_decode($_COOKIE['token']));
|
|
header("Location: /");
|
|
?>
|