X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=985c408b5c098c664e700b6537acaf22b676f11c;hb=f22fe7118d52251dbd0898279ef078b797885ec4;hp=b1708d80a2f02e36fe78b650841581508323a316;hpb=4d591c4a074a11bb27f5fe0981a13125d4ef2e02;p=friendica.git diff --git a/mod/home.php b/mod/home.php index b1708d80a2..985c408b5c 100644 --- a/mod/home.php +++ b/mod/home.php @@ -1,5 +1,9 @@ user['nickname'])) { - goaway(App::get_baseurl()."/network"); + goaway(System::baseUrl()."/network"); } - if (strlen(get_config('system','singleuser'))) { - goaway(App::get_baseurl()."/profile/" . get_config('system','singleuser')); + if (strlen(Config::get('system','singleuser'))) { + goaway(System::baseUrl()."/profile/" . Config::get('system','singleuser')); } }} @@ -31,7 +35,7 @@ function home_content(App $a) { /// @TODO No absolute path used, maybe risky (security) if (file_exists('home.html')) { if (file_exists('home.css')) { - $a->page['htmlhead'] .= ''; + $a->page['htmlhead'] .= ''; } $o .= file_get_contents('home.html');