| Current Path : /home/seto/testhive.pm/admin/ |
| Current File : /home/seto/testhive.pm/admin/logout.php |
<?php
require_once __DIR__ . '/../includes/config.php';
if (session_status() === PHP_SESSION_NONE) session_start();
unset($_SESSION[ADMIN_SESSION]);
session_destroy();
header('Location: /admin/login.php');
exit;