diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 07:09:51 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 07:09:51 +0100 |
commit | bd512ab60c5128cec449a48e7d0736303f961e89 (patch) | |
tree | e7675972310a06b55a5987dddb44beae63220a76 /mod/network.php | |
parent | ed37b1d166b22499c8f46e7f71e698a2985c9233 (diff) | |
parent | c574e4c5879312f57db43436044285de56026f0b (diff) | |
download | volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.gz volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.bz2 volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index aa42e2f52..096c8a79f 100644 --- a/mod/network.php +++ b/mod/network.php @@ -2,6 +2,12 @@ function network_init(&$a) { + if(! local_user()) { + notice( t('Permission denied.') . EOL); + return; + } + + require_once('include/group.php'); if(! x($a->page,'aside')) $a->page['aside'] = ''; @@ -22,7 +28,7 @@ function network_init(&$a) { function network_content(&$a, $update = 0) { if(! local_user()) - return ''; + return login(false); $o = ''; |