XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
precommon_badip_errorlog.php
Go to the documentation of this file.
1
<?php
2
3
class
protector_precommon_badip_errorlog
extends
ProtectorFilterAbstract
{
4
5
function
execute
()
6
{
7
echo
_MD_PROTECTOR_YOUAREBADIP
;
8
$protector
=&
Protector::getInstance
() ;
9
if
(
$protector
->ip_matched_info ) {
10
printf(
_MD_PROTECTOR_FMT_JAILINFO
, date(
_MD_PROTECTOR_FMT_JAILTIME
,
$protector
->ip_matched_info ) ) ;
11
}
12
error_log(
'Protector: badip '
.@
$_SERVER
[
'REMOTE_ADDR'
] , 0 ) ;
13
exit
;
14
}
15
16
}
17
18
?>
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
filters_disabled
precommon_badip_errorlog.php
Generated on Fri May 10 2013 01:04:29 for XOOPS 2.5.6 by
1.8.3.1