admittedly local magic-auth is easy so that's mostly done. Now it gets hard.

This commit is contained in:
friendica
2012-12-13 16:27:58 -08:00
parent 2a782597ba
commit dd2483221d
4 changed files with 54 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ function chanview_content(&$a) {
}
$o = replace_macros(get_markup_template('chanview.tpl'),array(
'$url' => $xchan['xchan_url']
'$url' => z_root() . '/magic?f=&dest=' . $xchan['xchan_url'] . '&addr=' . $xchan['xchan_addr']
));
return $o;