Revision 772
Added by Jean-Philippe Lang over 17 years ago
environment.rb | ||
---|---|---|
2 | 2 |
|
3 | 3 |
# Uncomment below to force Rails into production mode when |
4 | 4 |
# you don't control web/app server and can't set it the proper way |
5 |
# ENV['RAILS_ENV'] ||= 'production'
|
|
5 |
# ENV['RAILS_ENV'] ||= 'production' |
|
6 | 6 |
|
7 | 7 |
# Bootstrap the Rails environment, frameworks, and default configuration |
8 | 8 |
require File.join(File.dirname(__FILE__), 'boot') |
... | ... | |
41 | 41 |
# (enables use of different database adapters for development and test environments) |
42 | 42 |
# config.active_record.schema_format = :ruby |
43 | 43 |
|
44 |
# See Rails::Configuration for more options
|
|
45 |
|
|
46 |
# SMTP server configuration
|
|
47 |
config.action_mailer.smtp_settings = {
|
|
48 |
:address => "127.0.0.1",
|
|
49 |
:port => 25,
|
|
50 |
:domain => "somenet.foo",
|
|
51 |
:authentication => :login,
|
|
52 |
:user_name => "redmine",
|
|
53 |
:password => "redmine",
|
|
54 |
}
|
|
55 |
|
|
56 |
config.action_mailer.perform_deliveries = true
|
|
57 |
|
|
44 |
# See Rails::Configuration for more options |
|
45 |
|
|
46 |
# SMTP server configuration |
|
47 |
config.action_mailer.smtp_settings = { |
|
48 |
:address => "127.0.0.1", |
|
49 |
:port => 25, |
|
50 |
:domain => "somenet.foo", |
|
51 |
:authentication => :login, |
|
52 |
:user_name => "redmine", |
|
53 |
:password => "redmine", |
|
54 |
} |
|
55 |
|
|
56 |
config.action_mailer.perform_deliveries = true |
|
57 |
|
|
58 | 58 |
# Tell ActionMailer not to deliver emails to the real world. |
59 | 59 |
# The :test delivery method accumulates sent emails in the |
60 | 60 |
# ActionMailer::Base.deliveries array. |
61 |
#config.action_mailer.delivery_method = :test
|
|
61 |
#config.action_mailer.delivery_method = :test |
|
62 | 62 |
config.action_mailer.delivery_method = :smtp |
63 | 63 |
|
64 | 64 |
# Uncomment this line if the engines plugin is installed. |
65 | 65 |
Also available in: Unified diff
Native eol property set on config/*