adopted get_baseurl changes in Friendica 2018.12-dev

This commit is contained in:
Tobias Diekershoff 2018-10-11 06:54:47 +02:00
parent d3a9c0b2d6
commit 27bccc7c01
1 changed files with 1 additions and 1 deletions

View File

@ -66,6 +66,6 @@ function typography_render ( &$a, &$o) {
$typo->set_diacritic_language($lng); $typo->set_diacritic_language($lng);
$typo->set_hyphenation_language($lng); $typo->set_hyphenation_language($lng);
$o['html'] = $typo->process($o['html']); $o['html'] = $typo->process($o['html']);
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/typography/style.css' . '" media="all" />'; $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->getBaseurl() . '/addon/typography/style.css' . '" media="all" />';
unset($l); unset($l);
} }