*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
c43389f79a
commit
884f44ce94
108 changed files with 407 additions and 437 deletions
|
@ -6,7 +6,7 @@ function oexchange_init(&$a) {
|
|||
if(($a->argc > 1) && ($a->argv[1] === 'xrd')) {
|
||||
$tpl = get_markup_template('oexchange_xrd.tpl');
|
||||
|
||||
$o = replace_macros($tpl, array('$base' => $a->get_baseurl()));
|
||||
$o = replace_macros($tpl, array('$base' => App::get_baseurl()));
|
||||
echo $o;
|
||||
killme();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ function oexchange_content(&$a) {
|
|||
$tags = (((x($_REQUEST,'tags')) && strlen($_REQUEST['tags']))
|
||||
? '&tags=' . urlencode(notags(trim($_REQUEST['tags']))) : '');
|
||||
|
||||
$s = fetch_url($a->get_baseurl() . '/parse_url?f=&url=' . $url . $title . $description . $tags);
|
||||
$s = fetch_url(App::get_baseurl() . '/parse_url?f=&url=' . $url . $title . $description . $tags);
|
||||
|
||||
if(! strlen($s))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue