mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11215] use global
PHPBB3-11215
This commit is contained in:
parent
8b7aef6f93
commit
3a87a6b700
1 changed files with 2 additions and 2 deletions
|
@ -2413,7 +2413,7 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false)
|
|||
{
|
||||
global $_SID, $_EXTRA_URL, $phpbb_hook;
|
||||
global $phpbb_dispatcher;
|
||||
global $request;
|
||||
global $symfony_request;
|
||||
|
||||
if ($params === '' || (is_array($params) && empty($params)))
|
||||
{
|
||||
|
@ -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(phpbb_create_symfony_request($request));
|
||||
$corrected_root = 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