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

fix OPML publishing (2)

This commit is contained in:
Andrew Dolgov
2010-11-08 19:30:00 +03:00
parent e5075c1023
commit f29033f86c
3 changed files with 6 additions and 7 deletions

View File

@@ -162,7 +162,11 @@
print "<div id=\"infoBoxTitle\">".__('Public OPML URL')."</div>";
print "<div class=\"infoBoxContents\">";
if (!get_pref($link, "_PREFS_PUBLISH_KEY"))
set_pref($link, "_PREFS_PUBLISH_KEY",
sha1(uniqid(rand(), true)));
$url_path = opml_publish_url($link);
print __("Your Public OPML URL is:");