diff options
author | Andrew Dolgov <[email protected]> | 2007-08-10 05:25:06 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-10 05:25:06 +0100 |
commit | f56e308090f460d97dbe834ad88754231c3459e9 (patch) | |
tree | 5854f9c6dd149fe276962c2ba43bbab39616822f /modules/backend-rpc.php | |
parent | ef1ac7c73aeaf34129f26d0bda39bea3fc55eeb3 (diff) |
localization updates
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r-- | modules/backend-rpc.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 2705f45f5..7e83e816a 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -306,11 +306,8 @@ 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"); + $new_link = article_publish_url($link); print "<link><![CDATA[$new_link]]></link>"; |