tt-rss/logout.php

18 lines
267 B
PHP
Raw Normal View History

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