Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bd400724ef
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.389 kb
<?php
/* Logout, remove the user from the online list, reset cookies and return
to the index page. */
include_once("function.OnlineList.php");
include_once("class.User.php");
session_start();
setcookie("username",NULL,time()-10);
setcookie("password",NULL,time()-10);
removeUser($_SESSION['user']->getUserId());
session_destroy();
header("location: index.php");
?>
Jump to Line
Something went wrong with that request. Please try again.