How to set variable in .env file programity |
Hello,
I want to set database variable and some custom variable like license key to my .env file programmity. How can I do that?
Hello friend,
Use this small snippet I wrote. I hope it will do exactly what you want I am currently using it in my premium script. PHP Code: if (!function_exists('set_env')) { |
Welcome Guest, Not a member yet? Register Sign In |