Skip to content
Advertisement

Tag: environment-variables

How to use .env file in smarty?

I am new to smarty template. My all database settings are in /inc/settings/DSOPSettings.local.php but Every time I get pull from git for changes It overrides. I have tried to set .env file in smarty template project root tried to get env variables in DSOPSettings.local.php file but It’s not working for me. My .env file : My DSOPSettings.local.php : I have

Advertisement