Php – Link to another folder when a certain folder is called using an env variable
I've got this code architecture : root locales subdomain1 locales subdomain2 locales .env In my .env, I've got an env file called "DOMAIN=XXX". If that variable is not set, /root/locales is used. If it's set DOMAIN=subdomain1, I want the locales…