diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2e445192ae..e01bbe36d1 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4015,7 +4015,7 @@ function phpbb_filter_root_path($errfile) $root_path = phpbb_realpath(dirname(__FILE__) . '/../'); } - return str_replace(array($root_path, '\\'), array('', '/'), $errfile); + return str_replace(array($root_path, '\\'), array('[ROOT]', '/'), $errfile); } /**