From 1cd3b4182595b838a535dd6b6990251db05d49e6 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 30 Mar 2016 22:13:24 -0700 Subject: deprecate $a->get_baseurl() --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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)) { -- cgit v1.2.3