X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fhome.php;h=985c408b5c098c664e700b6537acaf22b676f11c;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=ae85593dd3fe57d0ec47cd513bd40d22f8c21ddf;hpb=0cd241bcbe762e38e2eba0c58800eb60a2240e36;p=friendica.git
diff --git a/mod/home.php b/mod/home.php
index ae85593dd3..985c408b5c 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -1,22 +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'));
+ if (strlen(Config::get('system','singleuser'))) {
+ goaway(System::baseUrl()."/profile/" . Config::get('system','singleuser'));
}
}}
-if (! function_exists('home_content')) {
+if(! function_exists('home_content')) {
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');