<?php
/**
* sign out
*
* @package Sngine
* @author Zamblek
*/
// fetch kernal
require('kernal.php');
// check user exist
if(!$userExist) {
header('Location: '.SITE_URL.'/index.php');
}
// sign out
$user->signOut();
header('Location: '.SITE_URL.'/index.php');
?>