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