[ticket/10844] Fix doc blocks with added/removed root path

PHPBB3-10844