mirror of
https://github.com/friendica/friendica
synced 2025-05-09 11:04:11 +02:00
make home tab work from remote profile, fix link in comment notify emails
This commit is contained in:
parent
f257569713
commit
1b0ddc928d
3 changed files with 9 additions and 2 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.'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue