logout.php

This commit is contained in:
Evelyn 2025-12-16 11:08:55 +07:00
parent 4d341adacb
commit 528f5e6adb

View File

@ -1,7 +1,7 @@
<?php
session_start();
$_SESSION = [];
session_destroy();
header('location:index.php')
?>
session_regenerate_id(true);
header("Location: index.php");
exit;