Sindbad~EG File Manager

Current Path : /home/copmadinaarea/thecopmadinaarea.org/conference/
Upload File :
Current File : /home/copmadinaarea/thecopmadinaarea.org/conference/logout.php

<?php
require_once 'includes/functions.php';

if (isLoggedIn()) {
    // Log logout action
    logAudit('logout', 'users', $_SESSION['user_id']);
    
    // Destroy session
    session_destroy();
}

// Redirect to home page
header('Location: ' . BASE_URL);
exit();
?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists