1 2 3 4 5 6 7 8 9 10
<?php require_once __DIR__ . '/../app/app.php'; setcookie('auth', '', time() - 3600); session_destroy(); session_regenerate_id(); header('Location: login.php'); die();