Replace IN_TITANIA with IN_PHPBB check.