mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
- bug fix: comments_forall and category commentable were not checked during
POST and a comment could be inserted - feature 524: anti-spam: - check number of links - check ip address against spamhaus.org block list - action when comment is qualified spam (needs validation or reject) - so far everything is in the config file git-svn-id: http://piwigo.org/svn/trunk@1610 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -86,6 +86,17 @@ $conf['top_number'] = 15;
|
||||
// anti-flood_time : number of seconds between 2 comments : 0 to disable
|
||||
$conf['anti-flood_time'] = 60;
|
||||
|
||||
// qualified spam comments are not registered (false will register them
|
||||
// but they will require admin validation)
|
||||
$conf['comment_spam_reject'] = true;
|
||||
|
||||
// maximum number of links in a comment before it is qualified spam
|
||||
$conf['comment_spam_max_links'] = 3;
|
||||
|
||||
// if the ip address of a comenteer is in spamhaus.org block list, the
|
||||
// comment is qualified spam
|
||||
$conf['comment_spam_check_ip'] = false;
|
||||
|
||||
// calendar_datefield : date field of table "images" used for calendar
|
||||
// catgory
|
||||
$conf['calendar_datefield'] = 'date_creation';
|
||||
|
||||
Reference in New Issue
Block a user