<?php
if (!defined('BASE_DIR')) { exit(header($_SERVER['SERVER_PROTOCOL'] . ' 404 Not Found', true)); }
session_start();
if (isset($_SESSION['admin_user_view']))
{
$_SESSION['user_id'] = $_SESSION['admin_user_view'];
unset($_SESSION['admin_user_view']);
exit(header('Location: /'));
}
session_destroy();
header('Location: /');
?>