How to get type of the instance (production/sandbox/something else) using code
Views (263)
I was working on the plugin where logic had to work differently depending on the type of the instance, i.e. if code is executed in Sandbox environment – do A, if code is executed in Production – do B. I never developed anything similar before and search engines did not bring anything valuable. After research ...
This was originally posted here.

Like
Report
*This post is locked for comments