Skip to content

Commit

Permalink
made config loader more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
mthiede committed Jun 14, 2010
1 parent 73815c2 commit 5c06185
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/concrete/config.rb
Expand Up @@ -9,7 +9,8 @@ def initialize(filename)
end

def loadValue(key)
loadConfig[key]
config = loadConfig
config[key] if config.is_a?(Hash)
end

def storeValue(key, value)
Expand Down

0 comments on commit 5c06185

Please sign in to comment.