XF 2.2 Finding domain name for conditional

PrettyPixels

Well-known member
Is there an equivalent to $_SERVER['HTTP_HOST'] that I can use in the PAGE_CONTAINER template? I'm pointing two domains to a forum and need to write a conditional around which domain name is accessing.

Any suggestions on the best way to do this are appreciated. :)
 
Top Bottom