Update logout.php
This commit is contained in:
parent
5cbd04796e
commit
f0a6a005d9
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
|
$_SESSION = array();
|
||||||
unset($_SESSION["user"]);
|
unset($_SESSION);
|
||||||
|
session_destroy();
|
||||||
header("Location: /");
|
header("Location: /");
|
||||||
Loading…
Reference in New Issue