Файл: public_html/modules/user/sign_out.php
Строк: 12
<?php
/**********************************
* @package: PerfCMS *
* @year: 2012 *
* @author: Artas *
* @link: http://perfcms.net *
* ------------------------------- *
* @package: PerfCMS Ultra *
* @year: 2013 *
* @author: wanya26ua & Tesla *
* @link: http://perfclub.ru *
**********************************/
if(isset($user)) {
@setcookie('uid', '');
@setcookie('password','');
$_SESSION['uid'] = '';
$_SESSION['password'] = '';
unset($_SESSION['lang']);
unset($_COOKIE['lang']);
unset($user);
header('Location: /');
} else { header('Location: /'); }
?>