]>
Commit | Line | Data |
---|---|---|
99620a7f AD |
1 | <? |
2 | session_start(); | |
3 | ||
8cb74804 | 4 | require_once "config.php"; |
b8aa49bc | 5 | require_once "functions.php"; |
8cb74804 | 6 | |
b8aa49bc | 7 | logout_user(); |
99620a7f | 8 | |
8cb74804 AD |
9 | if (!USE_HTTP_AUTH) { |
10 | header("Location: login.php"); | |
f557cd78 AD |
11 | } else { ?> |
12 | ||
13 | <html> | |
14 | <head> | |
15 | <title>Tiny Tiny RSS : Logout</title> | |
16 | <link rel="stylesheet" type="text/css" href="tt-rss.css"> | |
17 | <body class="logoutBody"> | |
18 | <div class="logoutContent"> | |
19 | ||
20 | <h1>You have been logged out.</h1> | |
21 | ||
22 | <p><span class="logoutWarning">Warning:</span> | |
23 | As there is no way to reliably clear HTTP Authentication | |
24 | credentials from your browser, it is recommended for you to close | |
25 | this browser window, otherwise your browser could automatically | |
26 | authenticate again using previously supplied credentials, which | |
27 | is a security risk.</p> | |
28 | ||
29 | </div> | |
30 | </body> | |
31 | </html> | |
32 | <? } ?> |