14 lines
285 B
PHP
14 lines
285 B
PHP
<?php
|
|
require_once 'includes/globals.php';
|
|
|
|
use DJMixHosting\SessionManager;
|
|
|
|
// Start the session (if not already started)
|
|
SessionManager::start();
|
|
|
|
// Destroy the session using the SessionManager
|
|
SessionManager::destroy();
|
|
|
|
// Redirect to the homepage
|
|
header("Location: /");
|
|
exit();
|