logout.php
This commit is contained in:
parent
4d341adacb
commit
528f5e6adb
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
$_SESSION = [];
|
||||
session_destroy();
|
||||
|
||||
header('location:index.php')
|
||||
?>
|
||||
session_regenerate_id(true);
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user