mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Update obsolete App::getBaseUrl calls to DI::baseUrl
This commit is contained in:
parent
c03588f0b4
commit
905823ea63
38 changed files with 510 additions and 480 deletions
|
@ -47,7 +47,7 @@ function impressum_footer($a, &$b) {
|
|||
$text = ProxyUtils::proxifyHtml(BBCode::convert(Config::get('impressum','footer_text')));
|
||||
|
||||
if (! $text == '') {
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$a->getBaseURL().'/addon/impressum/impressum.css" media="all" />';
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.DI::baseUrl()->get().'/addon/impressum/impressum.css" media="all" />';
|
||||
$b .= '<div class="clear"></div>';
|
||||
$b .= '<div id="impressum_footer">'.$text.'</div>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue