Add scary comment about g.debug to the default development.update

It's not obvious that `g.debug = True` is bad to do in prod unless you've
read `example.ini` as well.
This commit is contained in:
Jordan Milne
2015-04-06 06:25:45 -07:00
parent fc58af5cc1
commit 7ec1bfa057

View File

@@ -313,6 +313,9 @@ if [ ! -f development.update ]; then
# generate a new development.ini
[DEFAULT]
# global debug flag -- displays pylons stacktrace rather than 500 page on error when true
# WARNING: a pylons stacktrace allows remote code execution. Make sure this is false
# if your server is publicly accessible.
debug = true
disable_ads = true