Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -3,20 +3,20 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* Wrapper for interfacing with stopforumspam.com
|
||||
* Class written by Matt Mecham
|
||||
* Last Updated: $Date: 2009-02-04 20:05:25 +0000 (Wed, 04 Feb 2009) $
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Kernel
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since Tuesday 22nd February 2005 (16:55)
|
||||
* @version $Revision: 222 $
|
||||
* @version $Revision: 8644 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IPS_KERNEL_PATH' ) )
|
||||
@@ -32,48 +32,43 @@ class classStopForumSpam
|
||||
/**
|
||||
* Minimum frequency to check for
|
||||
*
|
||||
* @access private
|
||||
* @var int
|
||||
*/
|
||||
private $_minF = 3;
|
||||
protected $_minF = 3;
|
||||
|
||||
/**
|
||||
* XML object
|
||||
*
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
private $_xml = null;
|
||||
protected $_xml = null;
|
||||
|
||||
/**
|
||||
* ClassFileManagement object
|
||||
*
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
private $_cfm = null;
|
||||
protected $_cfm = null;
|
||||
|
||||
/**
|
||||
* Load XML and classFileManagement libraries
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
function __construct()
|
||||
public function __construct()
|
||||
{
|
||||
/* CFM */
|
||||
require_once( IPS_KERNEL_PATH . 'classFileManagement.php' );
|
||||
require_once( IPS_KERNEL_PATH . 'classFileManagement.php' );/*noLibHook*/
|
||||
$this->_cfm = new classFileManagement();
|
||||
|
||||
/* XML */
|
||||
require_once( IPS_KERNEL_PATH . 'classXML.php' );
|
||||
require_once( IPS_KERNEL_PATH . 'classXML.php' );/*noLibHook*/
|
||||
$this->_xml = new classXML('utf-8');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a frequency
|
||||
*
|
||||
* @access public
|
||||
* @param int
|
||||
* @return void
|
||||
*/
|
||||
@@ -85,7 +80,6 @@ class classStopForumSpam
|
||||
/**
|
||||
* Check to see if IP address is blacklisted
|
||||
*
|
||||
* @access public
|
||||
* @param string IP Address
|
||||
* @return boolean TRUE = blacklisted, FALSE = clean
|
||||
*/
|
||||
@@ -115,7 +109,6 @@ class classStopForumSpam
|
||||
/**
|
||||
* Check to see if email address is blacklisted
|
||||
*
|
||||
* @access public
|
||||
* @param string Email address
|
||||
* @return boolean TRUE = blacklisted, FALSE = clean
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user