[ticket/12620] Add support of the environments for the ext routing files

PHPBB3-12620