Initial Commit
This commit is contained in:
9
logout.php
Normal file
9
logout.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
session_start();
|
||||
session_destroy();
|
||||
|
||||
// Clear cookie too
|
||||
setcookie("access_token", "", time() - 3600, "/", "", true, true);
|
||||
|
||||
header("Location: index.php");
|
||||
exit;
|
Reference in New Issue
Block a user