Ignore:
Timestamp:
Sep 17, 2006, 4:26:21 PM (15 years ago)
Author:
nick
Message:

Support the config flag http_charset, which sets a http charset header on content type. (Closes #141)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Config.pm

    r857 r868  
    99   custom_lib_path use_plucene indexing_directory enable_page_deletion
    1010   admin_pass stylesheet_url site_name navbar_on_home_page home_name
    11    site_desc default_city default_country contact_email default_language
     11   site_desc default_city default_country contact_email
     12   default_language http_charset
    1213   formatting_rules_node formatting_rules_link backlinks_in_title template_path
    1314   custom_template_path geo_handler ellipsoid gmaps_api_key centre_long
     
    8081                     default_country => "",
    8182                     default_language => "en",
     83                     http_charset => "",
    8284                     formatting_rules_node => "Text Formatting Examples",
    8385                     formatting_rules_link => "http://openguides.org/page/text_formatting",
     
    150152        contact_email => "Contact email address for the site administrator?",
    151153        default_language => "What language will the site be in? (Please give an ISO language code.)",
     154        http_charset => "What character set should we put in the http headers? (This won't change the character set internally, just what it's reported as). Leave blank for none to be sent",
    152155        formatting_rules_node => "What's the name of the node or page to use for the text formatting rules link (this is by default an external document, but if you make formatting_rules_link empty, it will be a wiki node instead",
    153156        formatting_rules_link => "What URL do you want to use for the text formatting rules (leave blank to use a wiki node instead)?",
     
    239242=item * default_language (default: C<en>)
    240243
     244=item * http_charset
     245
    241246=item * contact_email
    242247
Note: See TracChangeset for help on using the changeset viewer.