per fabrix, except do the login "on page"

This commit is contained in:
Friendika 2011-01-20 14:25:44 -08:00
parent 707b4eed6f
commit 623ae24109
1 changed files with 5 additions and 3 deletions

View File

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