X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=575d3443fb4d59bd3e73a5a9eb0a9261abe52569;hb=831fff0f5c4497ccb14a9e1cb3299136f5682a3d;hp=13e92b054e1a591207bc78149fecec2089690e3d;hpb=6d7362da4134cce31f28a5efa2c623a11f89afc2;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index 13e92b054e..575d3443fb 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -13,7 +13,6 @@ use Friendica\Core\Hook; use Friendica\Core\L10n; use Friendica\Core\PConfig; use Friendica\Core\Renderer; -use Friendica\Core\System; use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\DI; @@ -514,7 +513,7 @@ function profiles_content(App $a) { } DI::page()['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('profed_head.tpl'), [ - '$baseurl' => System::baseUrl(true), + '$baseurl' => DI::baseUrl()->get(true), ]); $opt_tpl = Renderer::getMarkupTemplate("profile-hide-friends.tpl"); @@ -588,7 +587,7 @@ function profiles_content(App $a) { '$lbl_ex2' => L10n::t('Example: fishing photography software'), '$disabled' => (($is_default) ? 'onclick="return false;" style="color: #BBBBFF;"' : ''), - '$baseurl' => System::baseUrl(true), + '$baseurl' => DI::baseUrl()->get(true), '$profile_id' => $r[0]['id'], '$profile_name' => ['profile_name', L10n::t('Profile Name:'), $r[0]['profile-name'], L10n::t('Required'), '*'], '$is_default' => $is_default,