Changeset 1177 for sites

Show
Ignore:
Timestamp:
06/23/08 00:53:31 (4 months ago)
Author:
dom
Message:

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

Files:
1 modified

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'};