1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-31 22:29:15 +00:00

fix http basic authentication

This commit is contained in:
Andrew Dolgov
2005-11-20 11:14:38 +01:00
parent 2317ffaae7
commit 8cb7480484
5 changed files with 32 additions and 8 deletions

View File

@@ -1,12 +1,17 @@
<?
session_start();
require_once "config.php";
$_SESSION["uid"] = null;
$_SESSION["name"] = null;
$_SESSION["access_level"] = null;
session_destroy();
header("Location: login.php");
if (!USE_HTTP_AUTH) {
header("Location: login.php");
} else {
header("Location: tt-rss.php");
}
?>