1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 12:19:15 +00:00

login redirects to main page if SINGLE_USER_MODE

This commit is contained in:
Andrew Dolgov
2005-11-21 05:25:48 +01:00
parent c7a03b7a53
commit 4585ff0eab

View File

@@ -5,6 +5,11 @@
require_once "config.php";
require_once "functions.php";
if (SINGLE_USER_MODE) {
header("Location: tt-rss.php");
exit;
}
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$login = $_POST["login"];