tt-rss/logout.php
2005-11-20 11:14:38 +01:00

17 lines
267 B
PHP

<?
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");
}
?>