Define sensible defaults for boolean config values #11

Closed
iamthechad opened this Issue May 13, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Owner

iamthechad commented May 13, 2013

This is a follow-on to Issue #10. Need to define some default values when boolean config parameters are missing.

My suggestions:

  • includeNoScript: Default to true
  • forceLanguageInURL: Default to false
  • enabled: Default to false
  • useSecureAPI: Default to true

I think these values will give the best chance of working (mostly) correctly, or failing without crashing (i.e. enabled = false).

@ghost ghost assigned iamthechad May 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment