Hi,
The comments (and possibly some documentation somewhere) states that env vars take precedence over the config file.
But this is not true in the current implementation which looks at the config file first.
Besides, if the config file is not accessible for some reason, loadINI() fails without considering the env variables. For example: ovh: new client: cannot load configuration: open ./ovh.conf: permission denied
I think the logic that I would expect is: either of the following in order:
- env vars
- local config file (
./)
- home config file (
~/)
- general config file (
/etc/)
Hi,
The comments (and possibly some documentation somewhere) states that env vars take precedence over the config file.
But this is not true in the current implementation which looks at the config file first.
Besides, if the config file is not accessible for some reason,
loadINI()fails without considering the env variables. For example:ovh: new client: cannot load configuration: open ./ovh.conf: permission deniedI think the logic that I would expect is: either of the following in order:
./)~/)/etc/)