tuxsoul / cpg-badbehavior

Plugin for Coppermine Gallery to use Bad-Behavior, block spammer's and email harvest.

cpg-badbehavior / codebase.php
100644 27 lines (22 sloc) 1.128 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/*
******************************************************************************
CPG-BadBehavior Plugin
******************************************************************************
Author: Mario Oyorzabal Salgado
Blog: http://blog.tuxsoul.com/
E-mail: <tuxsoul@tuxsoul.com>
Web: http://code.google.com/p/cpg-dnsbl/
Donate: http://pledgie.org/campaigns/1537
******************************************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
******************************************************************************
*/
 
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
 
define ('CPG_BADBEHAVIOR_CWD', dirname(__FILE__));
 
// load bad-behavior core
include (CPG_BADBEHAVIOR_CWD . '/bad-behavior/bad-behavior-generic.php');
 
?>