18 lines
402 B
PHP
18 lines
402 B
PHP
|
<?php
|
||
|
$_SESSION = array();
|
||
|
if (ini_get("session.use_cookies")) {
|
||
|
$params = session_get_cookie_params();
|
||
|
setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]);
|
||
|
}
|
||
|
session_destroy();
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<!-- ToDo: Add proper page -->
|
||
|
<html>
|
||
|
<head>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1> Bye! Cya around some time soon. </h1>
|
||
|
</body>
|
||
|
</html>
|