From 893ba371a90a8f304e4e1707d40cbcc3295a43b2 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Dec 2012 16:48:17 -0800 Subject: set_baseurl issue, more cleanup --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 0736502b0..653a0ed59 100644 --- a/boot.php +++ b/boot.php @@ -638,7 +638,7 @@ if(! class_exists('App')) { $scheme = 'http'; } } - + $this->baseurl = $scheme . "://" . $this->hostname . ((isset($this->path) && strlen($this->path)) ? '/' . $this->path : '' ); return $this->baseurl; } @@ -647,7 +647,7 @@ if(! class_exists('App')) { if(is_array($this->config) && array_key_exists('system',$this->config) && array_key_exists('baseurl',$this->config['system']) && strlen($this->config['system']['baseurl'])) { - $url = $a->config['system']['baseurl']; + $url = $this->config['system']['baseurl']; } $parsed = @parse_url($url); -- cgit v1.2.3