When generating URLs for the Asset Manager extra (
http://modx.com/extras/package/assetmanager), there are times when we need to generate full urls (including http:// or https://), e.g. if a template is being consumed as an RSS feed. With links, this problem is easily solved by updating the link_tag_scheme system setting (or by passing &scheme=`full`) as a parameter on our links. But what of the assets_url?
Is it ok to code in a full URL in our config.inc.php? e.g. perhaps something like:
$modx_assets_url= MODX_SITE_URL. 'assets/';
I know the config.inc.php gets auto-generated at times... but does that value every get overwritten? I feel like the link_tag_scheme could conceivably apply to the assets_url...
Thoughts?