mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11215] Don't try to correct paths during tests
PHPBB3-11215
This commit is contained in:
parent
3a87a6b700
commit
068d350652
1 changed files with 1 additions and 1 deletions
|
@ -2421,7 +2421,7 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false)
|
|||
$params = false;
|
||||
}
|
||||
|
||||
$corrected_root = phpbb_get_web_root_path($symfony_request);
|
||||
$corrected_root = $symfony_request !== null ? phpbb_get_web_root_path($symfony_request) : '';
|
||||
if ($corrected_root)
|
||||
{
|
||||
$url = $corrected_root . substr($url, strlen($phpbb_root_path));
|
||||
|
|
Loading…
Add table
Reference in a new issue