diff options
author | root <root@diekershoff.homeunix.net> | 2011-01-05 18:06:35 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2011-01-05 18:06:35 +0100 |
commit | 011e0c3f8142e3976a4d386fce066c802d4727ab (patch) | |
tree | 4f6e03305a536b54e90b76d13c3aa6d6b6ac3212 /index.php | |
parent | 830a56723c37e206f2114c4bc4ade080f475cba9 (diff) | |
parent | b358e8afe21443a8f7e14573953a9780ba1d592d (diff) | |
download | volse-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.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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.')); } |