aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2016-02-01 11:25:07 +0100
committermrjive <mrjive@mrjive.it>2016-02-01 11:25:07 +0100
commit337735094b944fd31ed96e36c869227a0d63e5d1 (patch)
tree763577a8373b26426dc131c58f6a7f8c9c9213bf /boot.php
parent28943af494eae225b256b9771a5699a1b05d7a2f (diff)
parent01b5b1347521951ca78b1718b03c45897800bf5e (diff)
downloadvolse-hubzilla-337735094b944fd31ed96e36c869227a0d63e5d1.tar.gz
volse-hubzilla-337735094b944fd31ed96e36c869227a0d63e5d1.tar.bz2
volse-hubzilla-337735094b944fd31ed96e36c869227a0d63e5d1.zip
Merge pull request #20 from redmatrix/master
updating from original codebase
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 76baba361..238935da3 100755
--- a/boot.php
+++ b/boot.php
@@ -48,7 +48,7 @@ require_once('include/AccessList.php');
define ( 'PLATFORM_NAME', 'hubzilla' );
define ( 'RED_VERSION', trim(file_get_contents('version.inc')));
-define ( 'STD_VERSION', '1.1.3' );
+define ( 'STD_VERSION', '1.2' );
define ( 'ZOT_REVISION', 1 );
define ( 'DB_UPDATE_VERSION', 1161 );
@@ -863,7 +863,7 @@ class App {
&& array_key_exists('baseurl',$this->config['system'])
&& strlen($this->config['system']['baseurl'])) {
$url = $this->config['system']['baseurl'];
-
+ $url = trim($url,'\\/');
return $url;
}
@@ -881,6 +881,7 @@ class App {
&& array_key_exists('baseurl',$this->config['system'])
&& strlen($this->config['system']['baseurl'])) {
$url = $this->config['system']['baseurl'];
+ $url = trim($url,'\\/');
}
$parsed = @parse_url($url);