Author: dom Date: 2008-06-23 00:53:31 +0100 (Mon, 23 Jun 2008) New Revision: 1177
Modified: sites/oxford.openguides.org/lib/OpenGuides/SpamPlugin/Akismet.pm Log: put this in its own section so that OpenGuides::Config doesn't whinge
Modified: sites/oxford.openguides.org/lib/OpenGuides/SpamPlugin/Akismet.pm =================================================================== --- sites/oxford.openguides.org/lib/OpenGuides/SpamPlugin/Akismet.pm 2008-06-22 00:10:02 UTC (rev 1176) +++ sites/oxford.openguides.org/lib/OpenGuides/SpamPlugin/Akismet.pm 2008-06-22 23:53:31 UTC (rev 1177) @@ -33,7 +33,7 @@ # shouldn't have to fish this out ourselves # hacking core OpenGuides code is for another day my $config = Config::Tiny->read('wiki.conf'); - my $api_key = $config->{_}->{'spam_detector_akismet_key'}; + my $api_key = $config->{'akismet'}->{'spam_detector_akismet_key'}; my $url = $config->{_}->{'script_url'}; my $email = $config->{_}->{'contact_email'};
openguides-commits@lists.openguides.org