Skip to content

Commit

Permalink
Merge branch 'defect-duplicate-debug-setting-in-ini-file'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 12, 2012
2 parents 44fa728 + eeb716c commit dec436b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions ckan/config/deployment.ini_tmpl
Expand Up @@ -4,7 +4,16 @@
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true

# Change debug to true when doing CKAN development, it enables Pylons'
# interactive debugging tool, makes Fanstatic serve unminified JS and CSS
# files, and enables CKAN templates' debugging features.
#
# WARNING: *THIS SETTING MUST BE SET TO FALSE ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
debug = false

email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost
Expand Down Expand Up @@ -32,11 +41,6 @@ ckan.plugins = stats
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions

# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
set debug = false

# Specify the database for SQLAlchemy to use:
# * Postgres is currently required for a production CKAN deployment
# * Sqlite (memory or file) can be used as a quick alternative for testing
Expand Down

0 comments on commit dec436b

Please sign in to comment.