36693-vm/admin_logout.php
Flatlogic Bot 28d92aa376 ODMS2
2025-12-05 19:54:09 +00:00

13 lines
194 B
PHP

<?php
session_start();
// Unset all session variables
$_SESSION = [];
// Destroy the session
session_destroy();
// Redirect to the admin login page
header("Location: admin_login.php");
exit;