diff options
author | Friendika <info@friendika.com> | 2011-01-05 01:53:34 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-05 01:53:34 -0800 |
commit | 1b0ddc928d2dbeeeab80d6beec1abc0e7a29bdb5 (patch) | |
tree | d43f182f20aa799879dad7756f2046611a30ffe7 /index.php | |
parent | f257569713aa61b8510e6205a490eeae9c11ba5c (diff) | |
download | volse-hubzilla-1b0ddc928d2dbeeeab80d6beec1abc0e7a29bdb5.tar.gz volse-hubzilla-1b0ddc928d2dbeeeab80d6beec1abc0e7a29bdb5.tar.bz2 volse-hubzilla-1b0ddc928d2dbeeeab80d6beec1abc0e7a29bdb5.zip |
make home tab work from remote profile, fix link in comment notify emails
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.')); } |