Remove legacy usage of $vars['config']
Merge pull request #5681 from mrclay/remove_vars_url

Remove legacy usage of $vars['config']