aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-01-04 14:48:19 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-01-04 14:48:19 +0100
commitea978af9c198b5f02c8c0b3d376a1e598f181912 (patch)
treeb1af60496df0bef5c1218e844af5889001cee622 /index.php
parent0df91fd9a2a78d12378fcb7d9f7cba33f33e845e (diff)
parent64628c800d711c3a3c28e2bf94efd7e8b26a5eba (diff)
downloadvolse-hubzilla-ea978af9c198b5f02c8c0b3d376a1e598f181912.tar.gz
volse-hubzilla-ea978af9c198b5f02c8c0b3d376a1e598f181912.tar.bz2
volse-hubzilla-ea978af9c198b5f02c8c0b3d376a1e598f181912.zip
Merge branch 'friendika-master'
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 2e14e7d2a..cbc85accf 100644
--- a/index.php
+++ b/index.php
@@ -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.'));
}