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