aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-29 22:23:32 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-29 22:23:32 +0200
commitbc47e719b1c10ba43b7da0062f8236a8d137a159 (patch)
tree35e07e6b2559f64bed5ba9158d3512d0bb423d6b /phpBB/phpbb
parent31099a8efda204d764a1d6677a80ff5f710f4575 (diff)
downloadforums-bc47e719b1c10ba43b7da0062f8236a8d137a159.tar
forums-bc47e719b1c10ba43b7da0062f8236a8d137a159.tar.gz
forums-bc47e719b1c10ba43b7da0062f8236a8d137a159.tar.bz2
forums-bc47e719b1c10ba43b7da0062f8236a8d137a159.tar.xz
forums-bc47e719b1c10ba43b7da0062f8236a8d137a159.zip
[ticket/12787] Fix the absolute board url
PHPBB3-12787
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/path_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php
index 287d5d9e0a..8b2c31b478 100644
--- a/phpBB/phpbb/path_helper.php
+++ b/phpBB/phpbb/path_helper.php
@@ -199,7 +199,7 @@ class path_helper
{
$referer_web_root_path = $this->get_web_root_path_from_ajax_referer(
$this->symfony_request->get('_referer'),
- $this->symfony_request->getUriForPath('')
+ $this->symfony_request->getSchemeAndHttpHost() . $this->symfony_request->getBasePath()
);
return $this->web_root_path = $this->phpbb_root_path . $referer_web_root_path;
}