<?php
session_start(); // Start the session

// Unset all session variables
unset($_SESSION['ADMIN_LOGIN']);
unset($_SESSION['ADMIN_EMAIL']);

// Destroy the session
session_destroy();

// Redirect to login page
header("location: index.php");
die();
?>
