summaryrefslogtreecommitdiffstats
path: root/vendor/plugins/gloc-1.1.0/lib/gloc-config.rb
blob: e85b041f52494ccc4d4b23e972c3f49ee2d5d2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (c) 2005-2006 David Barri

module GLoc

  private

  CONFIG= {} unless const_defined?(:CONFIG)
  unless CONFIG.frozen?
    CONFIG[:default_language] ||= :en
    CONFIG[:default_param_name] ||= 'lang'
    CONFIG[:default_cookie_name] ||= 'lang'
    CONFIG[:raise_string_not_found_errors]= true unless CONFIG.has_key?(:raise_string_not_found_errors)
    CONFIG[:verbose] ||= false
  end
  
end