diff options
author | Friendika <info@friendika.com> | 2011-01-04 05:06:10 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-04 05:06:10 -0800 |
commit | 64628c800d711c3a3c28e2bf94efd7e8b26a5eba (patch) | |
tree | 8386dd0848a3ed4e2190ef1f75f6698d44811edd /index.php | |
parent | 2bf99df385a54c3a8a449b9eda1d2a9877465dd1 (diff) | |
download | volse-hubzilla-64628c800d711c3a3c28e2bf94efd7e8b26a5eba.tar.gz volse-hubzilla-64628c800d711c3a3c28e2bf94efd7e8b26a5eba.tar.bz2 volse-hubzilla-64628c800d711c3a3c28e2bf94efd7e8b26a5eba.zip |
provide "return home" key
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 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.')); } |