Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguous default filename. #10

Closed
exhuma opened this issue Oct 25, 2013 · 0 comments
Closed

Ambiguous default filename. #10

exhuma opened this issue Oct 25, 2013 · 0 comments
Milestone

Comments

@exhuma
Copy link
Owner

exhuma commented Oct 25, 2013

By default, config_resolver looks for a file named app.ini. If multiple applications use config_resolver, this could lead to conflicts when looking of the current working directory. To avoid any conflict, searching the working directory should look into sub folders just like it does in the home folder. Example resolution order:

  • /etc/<group>/<app>/app.ini
  • ~/.<group>/<app>/app.ini
  • ./.<group>/<app>/app.ini
@exhuma exhuma closed this as completed Oct 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant