s44
This commit is contained in:
13
.hta_slug/logout.php
Normal file
13
.hta_slug/logout.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
session_start(); // Start the session
|
||||
|
||||
// Unset all session variables
|
||||
$_SESSION = [];
|
||||
|
||||
// Destroy the session
|
||||
session_destroy();
|
||||
|
||||
// Redirect to login page
|
||||
header("Location: /");
|
||||
exit;
|
||||
?>
|
||||
Reference in New Issue
Block a user