<?php require_once('kernel/start.php'); if ($user == false) { header('location: /'); die(); } setcookie('auth', NULL); session_destroy(); header('location: /'); ?>