[ticket/12787] Fix the absolute board url

PHPBB3-12787
This commit is contained in:
Tristan Darricau 2014-06-29 22:23:32 +02:00
parent 31099a8efd
commit bc47e719b1

View file

@ -199,7 +199,7 @@ class path_helper
{ {
$referer_web_root_path = $this->get_web_root_path_from_ajax_referer( $referer_web_root_path = $this->get_web_root_path_from_ajax_referer(
$this->symfony_request->get('_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; return $this->web_root_path = $this->phpbb_root_path . $referer_web_root_path;
} }