From bc47e719b1c10ba43b7da0062f8236a8d137a159 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 29 Jun 2014 22:23:32 +0200 Subject: [PATCH] [ticket/12787] Fix the absolute board url PHPBB3-12787 --- phpBB/phpbb/path_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }