Ticket #470: 470_patch

File 470_patch, 1.6 KB (added by pythonsnake, 11 years ago)

Patch for #470

Line 
1diff --git a/mediagoblin.ini b/mediagoblin.ini
2index e878a47..3898afd 100644
3--- a/mediagoblin.ini
4+++ b/mediagoblin.ini
5@@ -11,16 +11,23 @@ email_sender_address = "notice@mediagoblin.example.org"
6
7 ## Uncomment and change to your DB's appropiate setting.
8 ## Default is a local sqlite db "mediagoblin.db".
9+## Don't forget to run `./bin/gmg dbupdate` after having changed it.
10 # sql_engine = postgresql:///mediagoblin
11
12-# set to false to enable sending notices
13+# Set to false to enable sending notices
14 email_debug_mode = true
15
16 # Set to false to disable registrations
17 allow_registration = true
18
19+## Uncomment this to allow atachments.
20+## Attachment are arbitrary files that are associated to a media entry.
21+## However, they are not filtered or scanned so may be present risks.
22+## Make sure your environment is safe before enabling it.
23+# allow_attachments = true
24+
25 ## Uncomment this to turn on video or enable other media types
26-## You may have to install dependencies, and will have to run ./bin/gmg dbupdate
27+## You may have to install dependencies, and will have to run `./bin/gmg dbupdate`
28 ## See http://docs.mediagoblin.org/siteadmin/media-types.html for details.
29 # media_types = mediagoblin.media_types.image, mediagoblin.media_types.video
30
31@@ -43,8 +50,8 @@ base_url = /mgoblin_media/
32 [celery]
33 # Put celery stuff here
34
35-# place plugins here---each in their own subsection of [plugins]. see
36-# documentation for details.
37+# Place plugins here, each in their own subsection of [plugins].
38+# See http://docs.mediagoblin.org/siteadmin/plugins.html for details.
39 [plugins]
40 [[mediagoblin.plugins.geolocation]]
41 [[mediagoblin.plugins.basic_auth]]