aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 2 insertions, 2 deletions
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);