Browse Source

Netwok page redirect to login page if not local_user

pull/1/head
fabrixxm 11 years ago
parent
commit
28ebbe38d6
  1. 7
      mod/network.php

7
mod/network.php

@ -2,6 +2,10 @@
function network_init(&$a) {
if(! local_user())
goaway( $a->get_baseurl() . "/login" );
require_once('include/group.php');
if(! x($a->page,'aside'))
$a->page['aside'] = '';
@ -22,8 +26,7 @@ function network_init(&$a) {
function network_content(&$a, $update = 0) {
if(! local_user())
return '';
return "";
$o = '';
require_once("include/bbcode.php");

Loading…
Cancel
Save