2009-02-03 21:29:55 +00:00
|
|
|
<?php
|
|
|
|
|
2010-12-13 00:50:08 +00:00
|
|
|
/**
|
|
|
|
* Default configuration settings for the Spam Protection module.
|
|
|
|
*
|
|
|
|
* You should not put your own configuration in here rather use your
|
|
|
|
* mysite/_config.php file
|
|
|
|
*
|
|
|
|
* @package spamprotection
|
|
|
|
*/
|
|
|
|
|
2013-04-05 21:13:05 +13:00
|
|
|
<<<<<<< HEAD
|
2012-12-16 11:23:21 +13:00
|
|
|
/**
|
|
|
|
* If the comments module is installed then add the spam protection module
|
|
|
|
* to the comments form via this extension.
|
|
|
|
*
|
|
|
|
* Place this line in your mysite/_config.php
|
|
|
|
*/
|
|
|
|
|
2013-04-05 21:13:05 +13:00
|
|
|
// Object::add_extension('CommentingController', 'CommentSpamProtection');
|
|
|
|
=======
|
|
|
|
if(class_exists('Comment')) {
|
|
|
|
/**
|
|
|
|
* If the comments module is installed then add the spam protection module
|
|
|
|
* to the comments form via this extension
|
|
|
|
*/
|
|
|
|
CommentingController::add_extension('CommentSpamProtection');
|
|
|
|
}
|
|
|
|
>>>>>>> FIX: 3.1 extension API updates
|