per fabrix, except do the login "on page"
This commit is contained in:
parent
707b4eed6f
commit
623ae24109
1 changed files with 5 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue