Skip to content

Disable Attachments

Drew Buglione edited this page Nov 2, 2013 · 2 revisions

Due to Heroku's ephemeral filesystem, Trac's attachments feature doesn't work. To disable it, make the following changes to env/conf/trac.ini:

- [attachment]
- max_size = 262144
- max_zip_size = 2097152
- render_unsafe_content = false

  [trac]
- permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
+ permission_policies = DefaultPermissionPolicy

  [components]
+ trac.attachment.* = disabled
Clone this wiki locally