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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user