aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/general.yml-example8
-rw-r--r--config/initializers/alaveteli.rb1
2 files changed, 9 insertions, 0 deletions
diff --git a/config/general.yml-example b/config/general.yml-example
index 6140cfe73..abc54485a 100644
--- a/config/general.yml-example
+++ b/config/general.yml-example
@@ -172,6 +172,14 @@ VARNISH_HOST: localhost
# Adding a value here will enable Google Analytics on all non-admin pages for non-admin users.
GA_CODE: ''
+# We need to add the WDTK survey variables here, or else the deployment
+# system will cry.
+SURVEY_SECRET: ''
+# Blank this out if the survey host is unavailable - people going to the
+# survey URL will get a message that the survey is unavailable
+SURVEY_URL: ''
+# Set this to false if you don't want survey emails to be sent
+SEND_SURVEY_MAILS: true
# If you want to override *all* the public body request emails with your own
# email so that request emails that would normally go to the public body
diff --git a/config/initializers/alaveteli.rb b/config/initializers/alaveteli.rb
index c7672d05b..e909013aa 100644
--- a/config/initializers/alaveteli.rb
+++ b/config/initializers/alaveteli.rb
@@ -52,6 +52,7 @@ require 'alaveteli_localization'
require 'message_prominence'
require 'theme'
require 'xapian_queries'
+require 'date_quarter'
AlaveteliLocalization.set_locales(AlaveteliConfiguration::available_locales,
AlaveteliConfiguration::default_locale)