summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-10-27 16:25:00 +0300
committerAndrew Dolgov <[email protected]>2009-10-27 16:25:00 +0300
commit86f84a9b26fabf4c3d3bad586bf48cf85d77bda5 (patch)
treeb8520d2e14d7e6d9cb25b653888b707c4482197f /backend.php
parent58af152b7a559d722f964738939bc0e5e8bf0667 (diff)
parent664306d30cabfbeb070401123b8df2fa4eb05018 (diff)
Merge branch 'master' of /home/fox/public_html/testbox/tt-rss
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 925f81087..aa8edb7ba 100644
--- a/backend.php
+++ b/backend.php
@@ -75,7 +75,11 @@
header("Content-Type: application/xml");
print_error_xml(7); exit;
}
-
+
+ if (SINGLE_USER_MODE) {
+ authenticate_user($link, "admin", null);
+ }
+
if (!($_SESSION["uid"] && validate_session($link)) && $op != "globalUpdateFeeds"
&& $op != "rss" && $op != "getUnread" && $op != "publish") {