public function get_routes()
{
if ($this->route_collection == null || empty($this->routing_files)) {
$this->find_routing_files($this->extension_manager !== null ? $this->extension_manager->all_enabled(false) : array())->find($this->phpbb_root_path);
}
return $this->route_collection;
}