1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-05 14:09:15 +00:00

more published feeds work

This commit is contained in:
Andrew Dolgov
2007-08-09 14:09:34 +01:00
parent e4f4b46f9d
commit 945c243e35
5 changed files with 65 additions and 9 deletions

View File

@@ -295,6 +295,23 @@
}
if ($subop == "regenPubKey") {
print "<rpc-reply>";
set_pref($link, "_PREFS_PUBLISH_KEY", generate_publish_key());
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$new_link = $url_path . "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
print "<link><![CDATA[$new_link]]></link>";
print "</rpc-reply>";
}
if ($subop == "logout") {
logout_user();
print_error_xml(6);