britodfbr

atcontenttypes.cfg

Jan 22nd, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.41 KB | None | 0 0
  1. # This places limits on image and file sizes
  2. #
  3. [atcontenttypes-client1]
  4. recipe                 = plone.recipe.atcontenttypes
  5. zope-instance-location = ${client1:location}
  6. max-file-size          = ATImage:500kb
  7.                          ATFile:30mb
  8.                          ATNewsItem:500kb
  9. max-image-dimension    = ATNewsItem:640,400
  10.                          ATImage:1024,1024
  11.  
  12. [atcontenttypes-client2]
  13. recipe                 = plone.recipe.atcontenttypes
  14. zope-instance-location = ${client2:location}
  15. max-file-size          = ${atcontenttypes-client1:max-file-size}
  16. max-image-dimension    = ${atcontenttypes-client1:max-image-dimension}
  17.  
  18. [atcontenttypes-client3]
  19. recipe                 = plone.recipe.atcontenttypes
  20. zope-instance-location = ${client3:location}
  21. max-file-size          = ${atcontenttypes-client1:max-file-size}
  22. max-image-dimension    = ${atcontenttypes-client1:max-image-dimension}
  23.  
  24. [atcontenttypes-client4]
  25. recipe                 = plone.recipe.atcontenttypes
  26. zope-instance-location = ${client4:location}
  27. max-file-size          = ${atcontenttypes-client1:max-file-size}
  28. max-image-dimension    = ${atcontenttypes-client1:max-image-dimension}
  29.  
  30. [atcontenttypes-client5]
  31. recipe                 = plone.recipe.atcontenttypes
  32. zope-instance-location = ${client5:location}
  33. max-file-size          = ${atcontenttypes-client1:max-file-size}
  34. max-image-dimension    = ${atcontenttypes-client1:max-image-dimension}
Advertisement
Add Comment
Please, Sign In to add comment