mirror of
https://github.com/dyzulk/raisen-app.git
synced 2026-01-26 05:15:29 +07:00
first commit
This commit is contained in:
13
logout.php
Normal file
13
logout.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
session_start();
|
||||
$_SESSION = [];
|
||||
session_unset();
|
||||
session_destroy();
|
||||
|
||||
setcookie('id', '', time() - 3600);
|
||||
setcookie('key', '', time() - 3600);
|
||||
|
||||
header("Location: login.php");
|
||||
exit;
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user