<?php
require_once 'config.php';

// Destroy session
session_destroy();

// Unset all session variables
$_SESSION = array();

// Redirect to home page
header("Location: index.php?logout=success");
exit();
?>
