X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=985c408b5c098c664e700b6537acaf22b676f11c;hb=de4a2e6fd03cd0aab94a256eba92ed593931534b;hp=bd77a840d0db221cca2c04043c2f2719e95f8814;hpb=2b161108fe6552ef2effb7b300553f0242b2e49e;p=friendica.git diff --git a/mod/home.php b/mod/home.php index bd77a840d0..985c408b5c 100644 --- a/mod/home.php +++ b/mod/home.php @@ -1,6 +1,8 @@ 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')); } }} @@ -33,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');