Skip to content

Commit

Permalink
Add scary comment about g.debug to the default development.update
Browse files Browse the repository at this point in the history
It's not obvious that `g.debug = True` is bad to do in prod unless you've
read `example.ini` as well.
  • Loading branch information
JordanMilne committed Apr 6, 2015
1 parent fc58af5 commit 7ec1bfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install-reddit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ec1bfa

Please sign in to comment.