Make template vars for paths available to styles and ensure that these are available to CAPTCHAs.
Merge branch 'master' into phpbb-com
Merge branch 'phpbb-com' into develop