1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13036] Add unit tests

PHPBB3-13036
This commit is contained in:
Tristan Darricau
2014-09-04 23:20:06 +02:00
parent dab6b99bcd
commit bb5d6a2551
2 changed files with 129 additions and 0 deletions

View File

@@ -155,6 +155,11 @@ class helper
$route_url = str_replace(array('&', '&'), array('&', '&'), $route_url);
}
if ($reference_type === UrlGeneratorInterface::RELATIVE_PATH && empty($this->config['enable_mod_rewrite']))
{
$route_url = 'app.' . $this->php_ext . '/' . $route_url;
}
return append_sid($route_url . $anchor, false, $is_amp, $session_id, true);
}