summaryrefslogtreecommitdiff
path: root/logout.php
blob: cfc9fd0348e6be4e0c9e032cee77e9a8b8b5a172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?
	session_start();

	require_once "config.php";

	$_SESSION["uid"] = null;
	$_SESSION["name"] = null;
	$_SESSION["access_level"] = null;

	session_destroy();

	if (!USE_HTTP_AUTH) {
		header("Location: login.php");
	} else {
		header("Location: tt-rss.php");
	}
?>