public
Description: This extension only implement the API to have in Coppermine Gallery the possibility to block spammer's with data from "Project Honey Pot", you need get a key from "Project Honey Pot" website.
Homepage: http://tuxsoul.github.com/cpg-httpbl
Clone URL: git://github.com/tuxsoul/cpg-httpbl.git
Click here to lend your support to: cpg-httpbl and make a donation at www.pledgie.com !
cpg-httpbl / httpbl.php
100644 31 lines (26 sloc) 1.123 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
28
29
30
31
<?php
/*
******************************************************************************
CPG-HttpBL 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://tinyurl.com/36mzoa
******************************************************************************
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.
******************************************************************************
*/
 
// Check to run with mediawiki
if (!defined('IN_COPPERMINE')) {
die ('You are lost ?');
}
 
// Define path of extension
define('HTTPBL_CWD', dirname(__FILE__));
 
// Include class to work dnsbl of httpbl
include(HTTPBL_CWD . '/object.httpbl.php');
 
?>