Good Afternoon All,
Is there any official guidance on using environment variables in the config files? Is there a helper function that we should be using or is it okay to use the $_ENV super global? I haven't been able to find anything in the docs. I'm looking at docker as a potential solution, but that only abstracts the issue, it doesn't solve it.
Thanks,
Marc
Is there any official guidance on using environment variables in the config files? Is there a helper function that we should be using or is it okay to use the $_ENV super global? I haven't been able to find anything in the docs. I'm looking at docker as a potential solution, but that only abstracts the issue, it doesn't solve it.
PHP Code:
$_ENV['ENV_VARIABLE_NAME']
Thanks,
Marc
Comment