diff options
author | Friendika <info@friendika.com> | 2011-09-27 06:50:18 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-27 06:50:18 -0700 |
commit | 75af366122fa472c28a4105553646c53ec0a16e7 (patch) | |
tree | 27a69031074cfd460073c0ceec797b7cc07c3f5e /mod/hostxrd.php | |
parent | 59525e1e321d4cdac668bfc79dd5de0962ab5f56 (diff) | |
download | volse-hubzilla-75af366122fa472c28a4105553646c53ec0a16e7.tar.gz volse-hubzilla-75af366122fa472c28a4105553646c53ec0a16e7.tar.bz2 volse-hubzilla-75af366122fa472c28a4105553646c53ec0a16e7.zip |
zot/salmon new key format for batch keys
Diffstat (limited to 'mod/hostxrd.php')
-rw-r--r-- | mod/hostxrd.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 1cc18da7a..e057cccad 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,11 +1,13 @@ <?php +require_once('include/crypto.php'); + function hostxrd_init(&$a) { header('Access-Control-Allow-Origin: *'); header("Content-type: text/xml"); $tpl = file_get_contents('view/xrd_host.tpl'); echo str_replace(array( - '$zroot','$domain','$zot_post'),array(z_root(),z_path(),z_root() . '/post'),$tpl); + '$zroot','$domain','$zot_post','$bigkey'),array(z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl); session_write_close(); exit(); |