billing2/.hta_slug/logout.php

14 lines
194 B
PHP

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