aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 33d0e36a28..bd6a45685d 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2708,7 +2708,7 @@ function redirect($url, $return = false, $disable_cd_check = false)
}
}
- $url = generate_board_url() . '/' . $url;
+ $url = generate_board_url() . '/' . $phpbb_path_helper->remove_web_root_path($url);
}
// Clean URL and check if we go outside the forum directory