diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 0b9b714c14..1787ec8df1 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1862,7 +1862,7 @@ function get_backtrace() { $output = '
'; $backtrace = debug_backtrace(); - $path = phpbb_realpath(PHPBB_ROOT_PATH); + $path = phpbb::$url->realpath(PHPBB_ROOT_PATH); foreach ($backtrace as $number => $trace) {