X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=985c408b5c098c664e700b6537acaf22b676f11c;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=b1708d80a2f02e36fe78b650841581508323a316;hpb=5eaa5951a1b19b985017b5db20f3b1abf464a1ef;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');