mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
spamfilter remove debugPrint
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8789 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
11b839f1df
commit
c244091f26
2 changed files with 0 additions and 4 deletions
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
|
|
||||||
function procSpamfilterAdminInsertSetting() {
|
function procSpamfilterAdminInsertSetting() {
|
||||||
debugPrint('Setting!!');
|
|
||||||
|
|
||||||
// Get the default information
|
// Get the default information
|
||||||
$argsConfig = Context::gets('limits','check_trackback');
|
$argsConfig = Context::gets('limits','check_trackback');
|
||||||
|
|
@ -23,7 +22,6 @@
|
||||||
$wordList = Context::get('wordList');
|
$wordList = Context::get('wordList');
|
||||||
$flag = Context::get('flag');
|
$flag = Context::get('flag');
|
||||||
//interval, limit_count
|
//interval, limit_count
|
||||||
debugPrint($argsConfig);
|
|
||||||
|
|
||||||
if(!$flag){
|
if(!$flag){
|
||||||
if($argsConfig->check_trackback && $argsConfig->check_trackback!='Y') $argsConfig->check_trackback = 'N';
|
if($argsConfig->check_trackback && $argsConfig->check_trackback!='Y') $argsConfig->check_trackback = 'N';
|
||||||
|
|
|
||||||
|
|
@ -140,10 +140,8 @@
|
||||||
//리눅스시.. 변환부분 체크하는 것 다시 봐야할 듯.
|
//리눅스시.. 변환부분 체크하는 것 다시 봐야할 듯.
|
||||||
$ipaddressList = str_replace("\r","",$ipaddressList);
|
$ipaddressList = str_replace("\r","",$ipaddressList);
|
||||||
$ipaddressList = explode("\n",$ipaddressList);
|
$ipaddressList = explode("\n",$ipaddressList);
|
||||||
debugPrint('sdfsdf');
|
|
||||||
foreach($ipaddressList as $ipaddressKey => $ipaddressValue) {
|
foreach($ipaddressList as $ipaddressKey => $ipaddressValue) {
|
||||||
preg_match("/(\d{1,3}(?:.(\d{1,3}|\*)){3})\s*(\/\/\s*(.*))?/",$ipaddressValue,$matches);
|
preg_match("/(\d{1,3}(?:.(\d{1,3}|\*)){3})\s*(\/\/\s*(.*))?/",$ipaddressValue,$matches);
|
||||||
debugPrint($matches);
|
|
||||||
if($ipaddress=trim($matches[1])) {
|
if($ipaddress=trim($matches[1])) {
|
||||||
$args->ipaddress = $ipaddress;
|
$args->ipaddress = $ipaddress;
|
||||||
if(!$description && $matches[4]) $args->description = $matches[4];
|
if(!$description && $matches[4]) $args->description = $matches[4];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue