ttrss/logout.php

18 lines
267 B
PHP
Raw Normal View History

2005-11-18 05:40:57 +00:00
<?
session_start();
2005-11-20 10:14:38 +00:00
require_once "config.php";
2005-11-18 05:40:57 +00:00
$_SESSION["uid"] = null;
$_SESSION["name"] = null;
$_SESSION["access_level"] = null;
2005-11-18 05:40:57 +00:00
session_destroy();
2005-11-20 10:14:38 +00:00
if (!USE_HTTP_AUTH) {
header("Location: login.php");
} else {
header("Location: tt-rss.php");
}
2005-11-18 05:40:57 +00:00
?>