[feature/twig] Fixing DEFINE statements

PHPBB3-11598