Changeset 894


Ignore:
Timestamp:
Dec 9, 2006, 12:30:55 PM (15 years ago)
Author:
nick
Message:

Have a new config setting, dbencoding, which is pased onto wiki toolkit

Location:
trunk/lib/OpenGuides
Files:
2 edited

Legend:

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

    r888 r894  
    66use base qw( Class::Accessor );
    77my @variables = qw(
    8    dbtype dbname dbuser dbpass dbhost script_name install_directory script_url
     8   dbtype dbname dbuser dbpass dbhost dbencoding
     9   script_name install_directory script_url
    910   custom_lib_path use_plucene indexing_directory enable_page_deletion
    1011   admin_pass stylesheet_url site_name navbar_on_home_page home_name
     
    130131        dbpass => "...the password that they use to access the database?",
    131132        dbhost => "...the machine that the database is hosted on? (blank if local)",
     133        dbencoding => "...the encoding that your database uses? (blank if default)",
    132134        script_name => "What do you want the script to be called?",
    133135        install_directory => "What directory should I install it in?",
     
    202204=item * dbhost
    203205
     206=item * dbencoding
     207
    204208=item * script_name (default: C<wiki.cgi>)
    205209
  • trunk/lib/OpenGuides/Utils.pm

    r888 r894  
    8484    # Make store.
    8585    my $store = $cgi_wiki_module->new(
    86         dbname => $config->dbname,
    87         dbuser => $config->dbuser,
    88         dbpass => $config->dbpass,
    89         dbhost => $config->dbhost,
     86        dbname  => $config->dbname,
     87        dbuser  => $config->dbuser,
     88        dbpass  => $config->dbpass,
     89        dbhost  => $config->dbhost,
     90        charset => $config->dbencoding,
    9091    );
    9192
Note: See TracChangeset for help on using the changeset viewer.