aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-04 18:15:33 -0700
committerzotlabs <mike@macgirvin.com>2018-04-04 18:15:33 -0700
commitcadef5924fd42e45e4a1a19c7c8cb559d1ea8fd7 (patch)
tree293115ee4db2c8a56a0b4982a20c01ef0751f811
parent1a25b0bda7d598888a49ee722f0f5cbea2a2f8f9 (diff)
parentaca719ac741f86cb2ab97ca06bb10b93684e9abf (diff)
downloadvolse-hubzilla-cadef5924fd42e45e4a1a19c7c8cb559d1ea8fd7.tar.gz
volse-hubzilla-cadef5924fd42e45e4a1a19c7c8cb559d1ea8fd7.tar.bz2
volse-hubzilla-cadef5924fd42e45e4a1a19c7c8cb559d1ea8fd7.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
-rwxr-xr-xboot.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 7ac4080a4..f6b5bee1c 100755
--- a/boot.php
+++ b/boot.php
@@ -954,7 +954,10 @@ class App {
&& is_array(self::$config['system'])
&& array_key_exists('baseurl',self::$config['system'])
&& strlen(self::$config['system']['baseurl'])) {
- $url = punify(self::$config['system']['baseurl']);
+ // get_baseurl() is a heavily used function.
+ // Do not use punify() here until we find a library that performs better than what we have now.
+ //$url = punify(self::$config['system']['baseurl']);
+ $url = self::$config['system']['baseurl'];
$url = trim($url,'\\/');
return $url;
}