mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-15 01:48:18 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user