mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
provide "return home" key
This commit is contained in:
parent
2bf99df385
commit
64628c800d
4 changed files with 11 additions and 0 deletions
|
@ -173,6 +173,9 @@ if($a->module_loaded) {
|
|||
|
||||
}
|
||||
|
||||
if(x($_SESSION,'visitor_home'))
|
||||
$a->page['content'] .= '<script>var homebase="' . $_SESSION['visitor_home'] . '" ; </script>';
|
||||
|
||||
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