Skip to content

Commit

Permalink
[svn] o revised the two ini comments to be less wordy
Browse files Browse the repository at this point in the history
o added ini file headers

--HG--
branch : trunk
  • Loading branch information
pjenvey committed Jul 27, 2006
1 parent 2e5c980 commit 0edef7f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 32 deletions.
@@ -1,3 +1,8 @@
#
# ${project} - production environment configuration
#
# The %(here) variable will be replaced with the parent directory of this file
#
[DEFAULT] [DEFAULT]
debug = true debug = true
email_to = you@yourdomain.com email_to = you@yourdomain.com
Expand All @@ -18,21 +23,13 @@ session_key = ${package}
session_secret = $${app_instance_secret} session_secret = $${app_instance_secret}
app_instance_uuid = $${app_instance_uuid} app_instance_uuid = $${app_instance_uuid}



# Specify the database for SQLObject to use via pylons.database.PackageHub.
# If you are using SQLObject you will need to specify a # %(here) may include a ':' character on Windows environments; this can
# dburi. You can do this with a line similar to the # invalidate the URI when specifying a SQLite db via path name. Refer to the
# one below but adjusted for your database connection # SQLObject documentation for a special syntax to preserve the URI.
# according to the SQLObject documentation. The %(here)s
# part is replaced with the current directory which is
# useful when using sqlite on UNIX based platforms.
# For Windows you should look at the SQLObject
# documentation for a special syntax to use because the
# path returned by %(here)s contains a : character.
#sqlobject.dburi = sqlite:%(here)s/somedb.db #sqlobject.dburi = sqlite:%(here)s/somedb.db


# Do not set debug to true or uncomment the line below # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# on a production environment otherwise in the event of # Debug mode will enable the interactive debugging tool, allowing ANYONE to
# an error occurring the visitor will be presented with # execute malicious code after an exception is raised.
# interactive debugging tools and these could be used to
# execute malicious code.
set debug = false set debug = false
29 changes: 12 additions & 17 deletions pylons/templates/paster_template/development.ini_tmpl
@@ -1,3 +1,8 @@
#
# ${project} - development environment configuration
#
# The %(here) variable will be replaced with the parent directory of this file
#
[DEFAULT] [DEFAULT]
debug = true debug = true
email_to = you@yourdomain.com email_to = you@yourdomain.com
Expand All @@ -17,23 +22,13 @@ session_data_dir = %(here)s/data/sessions
session_key = ${package} session_key = ${package}
session_secret = somesecret session_secret = somesecret


# If you are using SQLObject you will need to specify a # Specify the database for SQLObject to use via pylons.database.PackageHub.
# dburi. You can do this with a line similar to the # %(here) may include a ':' character on Windows environments; this can
# one below but adjusted for your database connection # invalidate the URI when specifying a SQLite db via path name. Refer to the
# according to the SQLObject documentation. The %(here)s # SQLObject documentation for a special syntax to preserve the URI.
# part is replaced with the current directory which is
# useful when using sqlite on UNIX based platforms.
# For Windows you should look at the SQLObject
# documentation for a special syntax to use because the
# path returned by %(here)s contains a : character.
#sqlobject.dburi = sqlite:%(here)s/somedb.db #sqlobject.dburi = sqlite:%(here)s/somedb.db


# Do not set debug to true or uncomment the line below # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# on a production environment otherwise in the event of # Debug mode will enable the interactive debugging tool, allowing ANYONE to
# an error occurring the visitor will be presented with # execute malicious code after an exception is raised.
# interactive debugging tools and these could be used to
# execute malicious code.
# For development purposes debug should be set to true
# to enable the debugging code but be sure to set it back
# to false before releasing your application.
#set debug = false #set debug = false

0 comments on commit 0edef7f

Please sign in to comment.