Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- = Site Defaults
- 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>.
- The following attributes may be set globally in <tt>crabgrass.*.yml</tt>, or on a per-site basis (by using the database):
- title:
- the title of the website.
- email_sender:
- email address that outgoing emails are sent from.
- enforce_ssl:
- if true, cookies will only work over tls/ssl.
- show_exceptions:
- if true, exceptions are show to the user.
- require_user_email:
- if true, user registration requires email address
- default_language:
- language code of the default language to use
- tracking:
- if true, we track user visits, logins and page views.
- available_page_types:
- if set, limits what page types can be created.
- chat:
- if false, chat is disabled
- translation_group:
- the name of a group that is allowed access to edit translations.
- limited:
- if set to true, then a user can only see people, groups, and pages from the
- current site. stuff from other sites will appear invisible. (note, currently,
- this is not actually stored in the database but must be globally configured).
- signup_mode:
- determines how signup works. there are three options:
- (1) default --> anyone can sign up
- (2) closed --> no one can sign up
- (3) invite_only --> you can sign up only if you were invited to join a group.
- Unfrequently modified options:
- :pagination_size -- how many items to show before paginating
- :evil -- used for google analytic
Add Comment
Please, Sign In to add comment