@ -76,6 +76,10 @@
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") {
@ -469,6 +469,7 @@ function view(id, feed_id, skip_history) {
debug("cache check result: " + (cached_article != false));
enableHotkeys();
hideAuxDlg();
//setActiveFeedId(feed_id);