X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=3490c4faea52dad7712e933d0d484aa05e3ba17f;hb=d0dfcc71a82ac423db68a12fd2eaf6d13cb18e1f;hp=ed66bad147470f3ca0857d41d5e094e3b110447c;hpb=4530f4ac9db4a3f9d53ef34ee7a185e2b31cc9be;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');