I’m working on a site where I’m developing on a subdomain at a new host (where I don’t have control).
I have a Google Maps API key working with EE on the subdomain, and would like to test for the document root to spit out the correct API key automatically when the NS records are changed for the live site.
Is there a way to do this within EE that I’m not thinking of, or will I need to do this in PHP directly?