use z_root
This commit is contained in:
parent
1067718018
commit
5990d62b06
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ function allfriends_content(&$a) {
|
|||
$vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||
'$name' => $c[0]['name'],
|
||||
'$photo' => $c[0]['photo'],
|
||||
'url' => $a->get_baseurl() . '/contacts/' . $cid
|
||||
'url' => z_root() . '/contacts/' . $cid
|
||||
));
|
||||
|
||||
if(! x($a->page,'aside'))
|
||||
|
|
|
@ -31,7 +31,7 @@ function common_content(&$a) {
|
|||
$vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||
'$name' => $c[0]['name'],
|
||||
'$photo' => $c[0]['photo'],
|
||||
'url' => $a->get_baseurl() . '/contacts/' . $cid
|
||||
'url' => z_root() . '/contacts/' . $cid
|
||||
));
|
||||
|
||||
if(! x($a->page,'aside'))
|
||||
|
|
Loading…
Reference in a new issue