summaryrefslogtreecommitdiff
path: root/classes/opml.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-21 15:16:39 +0300
committerAndrew Dolgov <[email protected]>2021-02-21 15:16:39 +0300
commitd1328321bebadcf8a530d3c05f52a8f3c58bb969 (patch)
tree8340f32be6292375fa32c1332bab128d35ac5564 /classes/opml.php
parent2843b9917133e5ed8e1adf4ffd12356459fc16e4 (diff)
move published OPML endpoint to public.php
Diffstat (limited to 'classes/opml.php')
-rw-r--r--classes/opml.php9
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) {