View file XCMS_ver_1_0/pages/exit.php

File size: 555B
<?php
#######################################################
#  [Автор скрипта: ]                                 #
#  [Роман Гринько aka Nominal]                        #
#  [ICQ:  405-623-516] [E-Mail: [email protected]]    #
#######################################################
@session_start();
$dir = '../';
include_once $dir.'system/func.php'; 
if(is_user()) {
unset($_SESSION['autorize']);
unset($_SESSION['login']);
header('Location: '.$dir.'index.php?out');
} else {
header('Location: '.$dir.'index.php?access_denied');

}
?>