diff options
-rw-r--r-- | config/general-example | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/config/general-example b/config/general-example deleted file mode 100644 index 981e118ca..000000000 --- a/config/general-example +++ /dev/null @@ -1,89 +0,0 @@ -<?php -/* - * general-example: - * Example values for the "general" config file. - * - * Configuration parameters, in PHP syntax. Configuration parameters are set - * using the PHP define('OPTION_...', '...') function. Both perl and PHP code - * parse this properly, so you can use comments and conditionals and whatnot, - * but unless essential it's better to keep it simple.... - * - * Copy this file to one called "general" in the same directory. Or - * have multiple config files and use a symlink to change between them. - * - * NOTE ON USE IN RAILS: So that people don't have to have PHP installed just - * to run this stuff, by convention we always provide a default config value - * in the source code when reading the config option. The Rails application - * should run fine without the general config file, it is a bug if it does not. - * - * Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. - * Email: francis@mysociety.org; WWW: http://www.mysociety.org - * - * $Id: general-example,v 1.18 2009-02-09 10:37:13 francis Exp $ - * - */ - -// Doesn't do anything right now. -define('OPTION_STAGING_SITE', 1); - -// Domain used in URLs generated by scripts (e.g. for going in some emails) -define('OPTION_DOMAIN', '127.0.0.1:3000'); - -// Domain used in URLs generated by scripts (e.g. for going in some emails) -define('OPTION_SITE_NAME', 'Alaveteli'); -define('OPTION_CONTACT_EMAIL', 'postmaster@localhost'); -define('OPTION_CONTACT_NAME', 'Alaveteli Webmaster'); - -// Workflow settings -define('OPTION_REPLY_LATE_AFTER_DAYS', 20); - -// Blog and Twitter -define('OPTION_BLOG_FEED', 'http://www.mysociety.org/category/projects/whatdotheyknow/feed/'); -define('OPTION_TWITTER_USERNAME', 'whatdotheyknow'); - - -// Incoming email -define('OPTION_INCOMING_EMAIL_DOMAIN', 'localhost'); // e.g. 'foifa.com' -define('OPTION_INCOMING_EMAIL_PREFIX', ''); // e.g. 'foi+' -define('OPTION_INCOMING_EMAIL_SECRET', 'xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx'); // used for hash in request email address -define('OPTION_BLACKHOLE_PREFIX', 'do-not-reply-to-this-address'); // used as envelope from at the incoming email domain for cases where we don't care about failure - -// Administration -// To completely skip admin authentication, set these to empty strings -define('OPTION_ADMIN_USERNAME', 'adminxxxx'); -define('OPTION_ADMIN_PASSWORD', 'passwordx'); - -define('OPTION_ADMIN_BASE_URL', '/admin/'); - - - -// Where /stylesheets sits under for admin pages. See asset_host in -// config/environment.rb. Can be full domain or relative path (not an absolute path beginning with /). -define('OPTION_ADMIN_PUBLIC_URL', ''); - -// Secret key for signing cookie_store sessions -define('OPTION_COOKIE_STORE_SESSION_SECRET', 'your secret key here, make it long and random'); - -// If present, puts the site in read only mode, and uses the text as reason -// (whole paragraph). Please use a read-only database user as well, as it only -// checks in a few obvious places. -define('OPTION_READ_ONLY', ''); - -// Recaptcha, for detecting humans. Get keys here: http://recaptcha.net/whyrecaptcha.html -define('OPTION_RECAPTCHA_PUBLIC_KEY', 'x'); -define('OPTION_RECAPTCHA_PRIVATE_KEY', 'x'); - -// Locales we wish to support in this app -define('OPTION_AVAILABLE_LOCALES', 'en es'); -define('DEFAULT_LOCALE', 'en'); - -// example searches for the home page, semicolon delimited -define('OPTION_FRONTPAGE_SEARCH_EXAMPLES', 'Geraldine Quango; Department for Humpadinking'); - -// example public bodies for the home page, semicolon delimited - short_names -define('OPTION_FRONTPAGE_PUBLICBODY_EXAMPLES', 'tgq'); - -// URL of theme to install -define('OPTION_THEME_URL', 'git://github.com/mysociety/whatdotheyknow-theme.git'); - -?> |