1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<? session_start(); require_once "config.php"; $_SESSION["uid"] = null; $_SESSION["name"] = null; $_SESSION["access_level"] = null; session_destroy(); if (!USE_HTTP_AUTH) { header("Location: login.php"); } else { header("Location: tt-rss.php"); } ?>