<?php require_once('core/start.php'); head('Выход'); unset($_SESSION['user_id']); setcookie('email', '', time() - 30); setcookie('password', '', time() - 30); header("Location: ".HOME."/index.php"); require_once('core/stop.php'); ?>