tildechan/logout.php

15 lines
260 B
PHP
Raw Normal View History

2019-07-03 01:35:43 +00:00
<?php
// Initialize the session.
// If you are using session_name("something"), don't forget it now!
session_start();
// Unset all of the session variables.
$_SESSION = array();
// Finally, destroy the session.
session_destroy();
header('Location: /');
?>