diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-30 22:22:38 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-30 22:28:20 +0200 |
commit | ff9632261e93d5f309541babd5e1fd48530e4c43 (patch) | |
tree | 2265001d624cfb9fd80d0588e495e70b306115f1 /phpBB/phpbb/routing | |
parent | 842d6f78158355a523c3b2993580374a9b066c8b (diff) | |
download | forums-ff9632261e93d5f309541babd5e1fd48530e4c43.tar forums-ff9632261e93d5f309541babd5e1fd48530e4c43.tar.gz forums-ff9632261e93d5f309541babd5e1fd48530e4c43.tar.bz2 forums-ff9632261e93d5f309541babd5e1fd48530e4c43.tar.xz forums-ff9632261e93d5f309541babd5e1fd48530e4c43.zip |
[ticket/13683] Removes extra / in script_path
PHPBB3-13683
Diffstat (limited to 'phpBB/phpbb/routing')
-rw-r--r-- | phpBB/phpbb/routing/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/routing/helper.php b/phpBB/phpbb/routing/helper.php index 011cc4bfef..c15608dce5 100644 --- a/phpBB/phpbb/routing/helper.php +++ b/phpBB/phpbb/routing/helper.php @@ -110,7 +110,7 @@ class helper $context->setScheme(substr($this->config['server_protocol'], 0, -3)); $context->setHttpPort($this->config['server_port']); $context->setHttpsPort($this->config['server_port']); - $context->setBaseUrl($this->config['script_path']); + $context->setBaseUrl(rtrim($this->config['script_path'], '/')); } $script_name = $this->symfony_request->getScriptName(); |