diff options
author | Andrew Dolgov <[email protected]> | 2021-02-21 15:16:39 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-21 15:16:39 +0300 |
commit | d1328321bebadcf8a530d3c05f52a8f3c58bb969 (patch) | |
tree | 8340f32be6292375fa32c1332bab128d35ac5564 /classes/opml.php | |
parent | 2843b9917133e5ed8e1adf4ffd12356459fc16e4 (diff) |
move published OPML endpoint to public.php
Diffstat (limited to 'classes/opml.php')
-rw-r--r-- | classes/opml.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/classes/opml.php b/classes/opml.php index 78ddb2842..04d287125 100644 --- a/classes/opml.php +++ b/classes/opml.php @@ -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) { |