aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2011-01-05 18:06:35 +0100
committerroot <root@diekershoff.homeunix.net>2011-01-05 18:06:35 +0100
commit011e0c3f8142e3976a4d386fce066c802d4727ab (patch)
tree4f6e03305a536b54e90b76d13c3aa6d6b6ac3212 /index.php
parent830a56723c37e206f2114c4bc4ade080f475cba9 (diff)
parentb358e8afe21443a8f7e14573953a9780ba1d592d (diff)
downloadvolse-hubzilla-011e0c3f8142e3976a4d386fce066c802d4727ab.tar.gz
volse-hubzilla-011e0c3f8142e3976a4d386fce066c802d4727ab.tar.bz2
volse-hubzilla-011e0c3f8142e3976a4d386fce066c802d4727ab.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
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'] .= '<script>var homebase="' . $homebase . '" ; </script>';
+// 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.'));
}