I have functionality that relies on having $base_url set in the settings.php file, but I have a multidomain site in order to keep languages separate.
The sections of my site are www.mysite.com and www.de.mysite.com. If I set base_url to "www.mysite.com" I get German language content on www.mysite.com.
How do I set the base_url for a multi-domain, multi-lingual setup so that things like my image style generation can work correctly?
This is a single install, not multisite.