aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-20 14:25:44 -0800
committerFriendika <info@friendika.com>2011-01-20 14:25:44 -0800
commit623ae24109677859c787e4bb66a9dedd6ba58c38 (patch)
tree2db846a08c1d203f78cf635eb4ac05f8603f6959
parent707b4eed6f6ca2bd548c88d9ab49639e02d51e92 (diff)
downloadvolse-hubzilla-623ae24109677859c787e4bb66a9dedd6ba58c38.tar.gz
volse-hubzilla-623ae24109677859c787e4bb66a9dedd6ba58c38.tar.bz2
volse-hubzilla-623ae24109677859c787e4bb66a9dedd6ba58c38.zip
per fabrix, except do the login "on page"
-rw-r--r--mod/network.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php
index 10683aeda..11d1c5291 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -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");