Code

Added function to get cfg values in order "current", "global", "default".