Use new phpbb core function to insert config vars

This PR is also dependent on the next RC3 release of phpBB