]> git.wh0rd.org - tt-rss.git/blobdiff - logout.php
fix g t hotkey not working
[tt-rss.git] / logout.php
index 7757689dcccebe9d7acdad692e4d2372c1f00b8c..855deec71d57d915849ee5747fd150b5c26a389b 100644 (file)
@@ -1,14 +1,11 @@
-<?
-       session_start();
-
+<?php
+       require_once "functions.php"; 
+       require_once "sessions.php";
+       require_once "sanity_check.php";
+       require_once "version.php"; 
        require_once "config.php";
-       require_once "functions.php";
+       require_once "db-prefs.php";
 
        logout_user();
-
-       if (!USE_HTTP_AUTH) {
-               header("Location: login.php");
-       } else {
-               header("Location: tt-rss.php");
-       }
+       header("Location: tt-rss.php");
 ?>