1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

move published OPML endpoint to public.php

This commit is contained in:
Andrew Dolgov
2021-02-21 15:16:39 +03:00
parent 2843b99171
commit d1328321be
12 changed files with 110 additions and 111 deletions

View File

@@ -634,13 +634,10 @@ class OPML extends Handler_Protected {
print "$msg<br/>";
}
static function opml_publish_url(){
$url_path = get_self_url_prefix();
$url_path .= "/opml.php?op=publish&key=" .
static function get_publish_url(){
return get_self_url_prefix() .
"/public.php?op=publishOpml&key=" .
Feeds::_get_access_key('OPML:Publish', false, $_SESSION["uid"]);
return $url_path;
}
function get_feed_category($feed_cat, $parent_cat_id = false) {