<?
require ($_SERVER['DOCUMENT_ROOT'].'/Core/core.php');
$title = 'Выход';
require ($_SERVER['DOCUMENT_ROOT'].'/Core/head.php');
setcookie("login","",time()-86400);
setcookie("password","",time()-86400);
$_SESSION['message'] = 'Вы успешно вышли!';
header("Location: /");
exit;
require ($_SERVER['DOCUMENT_ROOT'].'/Core/foot.php');
?>