mirror of
https://gh.wpcy.net/https://github.com/webguyio/stop-spammers-classic.git
synced 2026-05-24 23:55:55 +08:00
17 lines
No EOL
398 B
PHP
17 lines
No EOL
398 B
PHP
<?php
|
|
|
|
if ( !defined( 'ABSPATH' ) ) {
|
|
status_header( 404 );
|
|
exit;
|
|
}
|
|
|
|
class chkgcache extends be_module { // change name
|
|
public $searchname = 'Good Cache';
|
|
public function process( $ip, &$stats = array(), &$options = array(), &$post = array() ) {
|
|
// checks the IP from params which has the cache in it
|
|
$gcache = $stats['goodips'];
|
|
return $this->searchcache( $ip, $gcache );
|
|
}
|
|
}
|
|
|
|
?>
|