MAGMAWIKI_CONFIG = YAML::load(File.read(RAILS_ROOT + "/config/magmawiki_config.yml").untaint)['magmawiki'].with_indifferent_access

I18n.default_locale = MAGMAWIKI_CONFIG[:locale][:default].to_sym
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)

MAGMAWIKI_CONFIG = YAML::load(File.read(::Rails.root.to_s + "/config/magmawiki_config.yml").untaint)['magmawiki'].with_indifferent_access

I18n.default_locale = MAGMAWIKI_CONFIG[:locale][:default].to_sym
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)

Remove deprecated call to RAILS_ROOT, use ::Rails.root.to_s instead
Remove deprecated call to RAILS_ROOT, use ::Rails.root.to_s instead
