From: friendica Date: Fri, 20 Jul 2012 03:30:40 +0000 (-0700) Subject: check permission X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a75507f784f860e3228a58928e5ac00eb0a216b;p=friendica.git check permission --- diff --git a/mod/poke.php b/mod/poke.php index 8fe07b4cd7..851396e68b 100644 --- a/mod/poke.php +++ b/mod/poke.php @@ -102,6 +102,11 @@ function poke_init(&$a) { function poke_content(&$a) { + if(! local_user()) { + notice( t('Permission denied.') . EOL); + return; + } + $base = $a->get_baseurl(); $a->page['htmlhead'] .= '';