Changeset 1177


Ignore:
Timestamp:
Jun 23, 2008, 12:53:31 AM (13 years ago)
Author:
Dominic Hargreaves
Message:

put this in its own section so that OpenGuides::Config doesn't whinge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/oxford.openguides.org/lib/OpenGuides/SpamPlugin/Akismet.pm

    r1176 r1177  
    3434    # hacking core OpenGuides code is for another day
    3535    my $config = Config::Tiny->read('wiki.conf');
    36     my $api_key = $config->{_}->{'spam_detector_akismet_key'};
     36    my $api_key = $config->{'akismet'}->{'spam_detector_akismet_key'};
    3737    my $url = $config->{_}->{'script_url'};
    3838    my $email = $config->{_}->{'contact_email'};
Note: See TracChangeset for help on using the changeset viewer.