[support] Differenciating dev and prod site

Fred Jones fredthejonester at gmail.com
Sun Aug 28 17:08:35 UTC 2011


> The algorithm could be something like this:
> if ip=PROD_IP and vhost=PROD_VHOST
> then production site
> else dev site

Put that code in PHP at the bottom of page.tpl.php :)

Very simple.


More information about the support mailing list