2011-10-29 16:19:11 +04:00
|
|
|
#-- encoding: UTF-8
|
2011-05-30 00:11:52 +04:00
|
|
|
#-- copyright
|
|
|
|
# ChiliProject is a project management system.
|
2011-05-30 22:52:25 +04:00
|
|
|
#
|
2011-05-30 00:11:52 +04:00
|
|
|
# Copyright (C) 2010-2011 the ChiliProject Team
|
2011-05-30 22:52:25 +04:00
|
|
|
#
|
2011-05-30 00:11:52 +04:00
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
2011-05-30 22:52:25 +04:00
|
|
|
#
|
2011-05-30 00:11:52 +04:00
|
|
|
# See doc/COPYRIGHT.rdoc for more details.
|
|
|
|
#++
|
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
# Settings specified here will take precedence over those in config/environment.rb
|
|
|
|
|
|
|
|
# The production environment is meant for finished, "live" apps.
|
|
|
|
# Code is not reloaded between requests
|
|
|
|
config.cache_classes = true
|
|
|
|
|
2010-09-17 08:31:17 +04:00
|
|
|
#####
|
|
|
|
# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
|
|
|
|
#
|
2006-06-28 22:11:03 +04:00
|
|
|
# Use a different logger for distributed setups
|
|
|
|
# config.logger = SyslogLogger.new
|
2010-09-17 08:31:17 +04:00
|
|
|
#
|
|
|
|
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
|
2010-09-26 20:54:38 +04:00
|
|
|
# When setting a new Logger, make sure to set it's log level too.
|
|
|
|
#
|
2010-09-17 08:31:17 +04:00
|
|
|
# config.logger = Logger.new(config.log_path, 7, 1048576)
|
2010-09-26 20:54:38 +04:00
|
|
|
# config.logger.level = Logger::INFO
|
2006-06-28 22:11:03 +04:00
|
|
|
|
|
|
|
# Full error reports are disabled and caching is turned on
|
|
|
|
config.action_controller.consider_all_requests_local = false
|
|
|
|
config.action_controller.perform_caching = true
|
|
|
|
|
|
|
|
# Enable serving of images, stylesheets, and javascripts from an asset server
|
|
|
|
# config.action_controller.asset_host = "http://assets.example.com"
|
2007-09-28 02:30:57 +04:00
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
# Disable delivery errors if you bad email addresses should just be ignored
|
|
|
|
config.action_mailer.raise_delivery_errors = false
|
2007-05-27 14:57:13 +04:00
|
|
|
|
|
|
|
# No email in production log
|
2007-09-28 02:30:57 +04:00
|
|
|
config.action_mailer.logger = nil
|