X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=cdf4b371588900a95938fecfb0dfd306ad3718a1;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=76318b157ca0dc7ad93e0190b1dfefe27efb2fb4;hpb=5b4944fe8e951776542a0401a6766e92ff384020;p=friendica.git diff --git a/mod/home.php b/mod/home.php index 76318b157c..cdf4b37158 100644 --- a/mod/home.php +++ b/mod/home.php @@ -7,10 +7,11 @@ function home_init(&$a) { call_hooks('home_init',$ret); if(local_user() && ($a->user['nickname'])) - goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] ); + goaway($a->get_baseurl()."/network"); + //goaway($a->get_baseurl()."/profile/".$a->user['nickname']); if(strlen(get_config('system','singleuser'))) - goaway( $a->get_baseurl() . "/profile/" . get_config('system','singleuser')); + goaway($a->get_baseurl()."/profile/" . get_config('system','singleuser')); }} @@ -25,16 +26,20 @@ function home_content(&$a) { if(x($_SESSION,'mobile-theme')) unset($_SESSION['mobile-theme']); - if(file_exists('home.html')) - $o .= file_get_contents('home.html'); - else $o .= '