config-reader-php icon indicating copy to clipboard operation
config-reader-php copied to clipboard

adding isDomainAdded function

Open matthiaz opened this issue 2 years ago • 2 comments

This allows users to detect if they are on a production site that actually has a domain added. Can also be used to detect if a dev environment has a domain.

matthiaz avatar Jul 12 '23 10:07 matthiaz

Hey @matthiaz ! Thank you for the PR. I have a hard time finding a use-case for it. Do you have some in mind?

gmoigneu avatar Feb 25 '25 17:02 gmoigneu

To check if a domain is actually added.

isProduction is not enough

matthiaz avatar Feb 26 '25 11:02 matthiaz