aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index bccb270d8..0d2754406 100755
--- a/index.php
+++ b/index.php
@@ -166,7 +166,7 @@ $Router->Dispatch($a);
if(x($_SESSION, 'visitor_home')) {
$homebase = $_SESSION['visitor_home'];
} elseif(local_channel()) {
- $homebase = $a->get_baseurl() . '/channel/' . $a->channel['channel_address'];
+ $homebase = z_root() . '/channel/' . $a->channel['channel_address'];
}
if(isset($homebase)) {