]> git.mxchange.org Git - friendica.git/commitdiff
per fabrix, except do the login "on page"
authorFriendika <info@friendika.com>
Thu, 20 Jan 2011 22:25:44 +0000 (14:25 -0800)
committerFriendika <info@friendika.com>
Thu, 20 Jan 2011 22:25:44 +0000 (14:25 -0800)
mod/network.php

index 10683aeda8022744c376a92c0f45361406381842..11d1c5291f0044d852f674401df43fd7fd7d9f91 100644 (file)
@@ -2,8 +2,9 @@
 
 
 function network_init(&$a) {
-  if(! local_user())
-      goaway( $a->get_baseurl() . "/login" );
+       if(! local_user()) {
+               return;
+       }
   
   
        require_once('include/group.php');
@@ -26,7 +27,8 @@ function network_init(&$a) {
 function network_content(&$a, $update = 0) {
 
        if(! local_user())
-    return "";
+       return login(false);
+
        $o = '';
 
        require_once("include/bbcode.php");