2012-05-09 16:04:10 +04:00
|
|
|
# Settings specified here will take precedence over those in config/application.rb
|
2012-04-25 21:17:49 +04:00
|
|
|
RedmineApp::Application.configure do
|
|
|
|
# The production environment is meant for finished, "live" apps.
|
|
|
|
# Code is not reloaded between requests
|
|
|
|
config.cache_classes = true
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
#####
|
|
|
|
# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
|
|
|
|
#
|
|
|
|
# Use a different logger for distributed setups
|
|
|
|
# config.logger = SyslogLogger.new
|
|
|
|
#
|
|
|
|
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
|
|
|
|
# When setting a new Logger, make sure to set it's log level too.
|
|
|
|
#
|
|
|
|
# config.logger = Logger.new(config.log_path, 7, 1048576)
|
|
|
|
# config.logger.level = Logger::INFO
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
# Full error reports are disabled and caching is turned on
|
|
|
|
config.action_controller.perform_caching = true
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
# Enable serving of images, stylesheets, and javascripts from an asset server
|
|
|
|
# config.action_controller.asset_host = "http://assets.example.com"
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
# Disable delivery errors if you bad email addresses should just be ignored
|
|
|
|
config.action_mailer.raise_delivery_errors = false
|
2007-09-28 02:30:57 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
# No email in production log
|
|
|
|
config.action_mailer.logger = nil
|
2007-05-27 14:57:13 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
config.active_support.deprecation = :log
|
|
|
|
end
|