logout
This commit is contained in:
parent
62aea1726e
commit
c2f1067e5e
2 changed files with 14 additions and 0 deletions
13
docs/logout.php
Normal file
13
docs/logout.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
require("../libs/page.php");
|
||||
page_header();
|
||||
if (isset($_COOKIE)) {
|
||||
foreach ( $_COOKIE as $key => $value )
|
||||
{
|
||||
setcookie( $key, FALSE );
|
||||
}
|
||||
header("Location: /");
|
||||
die();
|
||||
}
|
||||
page_footer();
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue