git-svn-id: http://xe-core.googlecode.com/svn/trunk@245 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-05 07:54:37 +00:00
parent 0b00b8348b
commit e383947125
9 changed files with 72 additions and 19 deletions

View file

@ -62,9 +62,7 @@
* @brief IP 등록
* 등록된 IP는 스패머로 간주
**/
function insertIP($ipaddress = '') {
if(!$ipaddress) $ipaddress = $_SERVER['REMOTE_ADDR'];
function insertIP($ipaddress) {
$oDB = &DB::getInstance();
$args->ipaddress = $ipaddress;
return $oDB->executeQuery('spamfilter.insertDeniedIP', $args);