PhpGt / Config

Manage configuration with ini files and environment variables.
https://www.php.gt/config
MIT License
0 stars 2 forks source link

Namespace environment variables #3

Closed g105b closed 8 years ago

g105b commented 8 years ago

Optionally set a "namespace" for all environment variables to exist within.

With the ini line name = Berty, setting the namespace with $config->setNamespace("something"); should allow this: $name = getenv("something_name").

g105b commented 8 years ago

Call this prefix, not namespace.