Guest User

Untitled

a guest
Jun 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. = Site Defaults
  2.  
  3. Sites are stored in the database. However, if they do not have a particular attributed configured (the value is NULL), then the attribute's value defaults to whatever is configured in <tt>crabgrass.*.yml</tt>.
  4.  
  5. The following attributes may be set globally in <tt>crabgrass.*.yml</tt>, or on a per-site basis (by using the database):
  6.  
  7. title:
  8. the title of the website.
  9.  
  10. email_sender:
  11. email address that outgoing emails are sent from.
  12.  
  13. enforce_ssl:
  14. if true, cookies will only work over tls/ssl.
  15.  
  16. show_exceptions:
  17. if true, exceptions are show to the user.
  18.  
  19. require_user_email:
  20. if true, user registration requires email address
  21.  
  22. default_language:
  23. language code of the default language to use
  24.  
  25. tracking:
  26. if true, we track user visits, logins and page views.
  27.  
  28. available_page_types:
  29. if set, limits what page types can be created.
  30.  
  31. chat:
  32. if false, chat is disabled
  33.  
  34. translation_group:
  35. the name of a group that is allowed access to edit translations.
  36.  
  37. limited:
  38. if set to true, then a user can only see people, groups, and pages from the
  39. current site. stuff from other sites will appear invisible. (note, currently,
  40. this is not actually stored in the database but must be globally configured).
  41.  
  42. signup_mode:
  43. determines how signup works. there are three options:
  44. (1) default --> anyone can sign up
  45. (2) closed --> no one can sign up
  46. (3) invite_only --> you can sign up only if you were invited to join a group.
  47.  
  48. Unfrequently modified options:
  49.  
  50. :pagination_size -- how many items to show before paginating
  51. :evil -- used for google analytic
Add Comment
Please, Sign In to add comment