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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user