ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Test for Document Root

September 08, 2008 6:50pm

Subscribe [0]
  • #1 / Sep 08, 2008 6:50pm

    RedSheep

    5 posts

    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?

  • #2 / Sep 09, 2008 11:39am

    RedSheep

    5 posts

    Anyone?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases