View file modules/exit.php

File size: 259B
<?
define('SHCMS_ENGINE',true);
include_once('../engine/system/core.php');
$templates->template('Покинуть страницу');

setcookie('COOKIE_ID', '');
setcookie('COOKIE_PASS', '');
session_destroy();
header('Location: ../index.php');

?>