diff options
author | mrjive <mrjive@mrjive.it> | 2018-04-05 10:52:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 10:52:39 +0200 |
commit | a7ff2cc5ea11afd7b832bef24866abfb0220d022 (patch) | |
tree | e7dcd63bbfdaa6ae564c60d59ef60edf0e6ba7a7 /boot.php | |
parent | 20ac91703d54679d2e5080ba2d4985e93986a515 (diff) | |
parent | dcacdd23c87061dc15bd12ed2e959bcbe020c5df (diff) | |
download | volse-hubzilla-a7ff2cc5ea11afd7b832bef24866abfb0220d022.tar.gz volse-hubzilla-a7ff2cc5ea11afd7b832bef24866abfb0220d022.tar.bz2 volse-hubzilla-a7ff2cc5ea11afd7b832bef24866abfb0220d022.zip |
Merge pull request #3 from redmatrix/dev
Dev
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -54,7 +54,7 @@ define ( 'STD_VERSION', '3.3.3' ); define ( 'ZOT_REVISION', '6.0a' ); -define ( 'DB_UPDATE_VERSION', 1209 ); +define ( 'DB_UPDATE_VERSION', 1210 ); define ( 'PROJECT_BASE', __DIR__ ); @@ -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; } |