login redirects to main page if SINGLE_USER_MODE

master
Andrew Dolgov 19 years ago
parent c7a03b7a53
commit 4585ff0eab

@ -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"];

Loading…
Cancel
Save