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;
|
2005-11-19 11:31:20 +00:00
|
|
|
$_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
|
|
|
?>
|