diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2a3157ffbe..f19931fbc3 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -5733,7 +5733,7 @@ function phpbb_create_symfony_request(phpbb_request $request) */ function phpbb_get_web_root_path(Request $symfony_request, $phpbb_root_path = '') { - global $config, $phpEx, $request; + global $phpEx; static $path; if (null !== $path) {