Sha256: f7827894996b9de9542fb54fbd63ee4f641bc3f545a3f1ac030d1d42230101cd
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
if ActiveRecord::Base.connection.tables.include?(Setting.table_name) and settings = Setting.current Time.zone = settings.time_zone I18n.default_locale = settings.lang.to_sym ActionMailer::Base.delivery_method = (settings.mailer[:delivery_method] || :test).to_sym ActionMailer::Base.smtp_settings = settings.smtp_settings || {} ActionMailer::Base.sendmail_settings = settings.sendmail_settings || {} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
forgeos_core-1.9.5.rc2 | config/initializers/load_settings.rb |
forgeos_core-1.9.5.rc1 | config/initializers/load_settings.rb |