From 1b0ddc928d2dbeeeab80d6beec1abc0e7a29bdb5 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 5 Jan 2011 01:53:34 -0800 Subject: make home tab work from remote profile, fix link in comment notify emails --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 456c0a144..38684a00a 100644 --- a/index.php +++ b/index.php @@ -183,6 +183,9 @@ elseif(local_user()) if(isset($homebase)) $a->page['content'] .= ''; +// now that we've been through the module content, see if the page reported +// a permission problem and if so, a 403 response would seem to be in order. + if(stristr($_SESSION['sysmsg'], t('Permission denied'))) { header($_SERVER["SERVER_PROTOCOL"] . ' 403 ' . t('Permission denied.')); } -- cgit v1.2.3