X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=985c408b5c098c664e700b6537acaf22b676f11c;hb=3359f3f5c7ecc4b6a34c4fcfc095ab4dd5fab0f1;hp=ed66bad147470f3ca0857d41d5e094e3b110447c;hpb=479180ca8ea9fb02c8e90b0017d2f584aa199043;p=friendica.git diff --git a/mod/home.php b/mod/home.php index ed66bad147..985c408b5c 100644 --- a/mod/home.php +++ b/mod/home.php @@ -1,23 +1,27 @@ 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')); } }} if(! function_exists('home_content')) { -function home_content(App &$a) { +function home_content(App $a) { $o = ''; @@ -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');