X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fhome.php;h=3490c4faea52dad7712e933d0d484aa05e3ba17f;hb=10ede7314136edb1c475e1af546a59ff4c5648cf;hp=ed66bad147470f3ca0857d41d5e094e3b110447c;hpb=4c04a78d1b6f14ce90e4ca0b23e356d234c4a296;p=friendica.git
diff --git a/mod/home.php b/mod/home.php
index ed66bad147..3490c4faea 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -1,23 +1,26 @@
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'));
+ goaway(System::baseUrl()."/profile/" . get_config('system','singleuser'));
}
}}
if(! function_exists('home_content')) {
-function home_content(App &$a) {
+function home_content(App $a) {
$o = '';
@@ -31,7 +34,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');