Is There a Way to Determine Site Type From CPHP?
Content
I have a problem where I'd like to be able to determine the "type" of a site (test, upgrade, production) from within CPHP. It would be great if there's a non-hidden config that would tell me this, but if I could get the base URL of the site that would work as well. I think I've done this before, but that may have been back when I could access hidden configs and etc. Is there a publicly-accessible way to do this?
Tagged:
0