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

This commit is contained in:
zero 2007-03-05 13:01:34 +00:00
parent de279750ba
commit b675f26ac4
10 changed files with 151 additions and 5 deletions

View file

@ -0,0 +1,33 @@
<?php
/**
* @class krzipController
* @author zero (zero@nzeo.com)
* @brief krzip 모듈의 controller class
**/
class krzipController extends krzip {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 스팸필터 설정
**/
function procInsertConfig() {
// 기본 정보를 받음
$args = Context::gets('krzip_server_hostname','krzip_server_port','krzip_server_query');
if(!$args->krzip_server_hostname) $args->krzip_server_hostname = $this->hostname;
if(!$args->krzip_server_port) $args->krzip_server_port = $this->port;
if(!$args->krzip_server_query) $args->krzip_server_query = $this->query;
// module Controller 객체 생성하여 입력
$oModuleController = &getController('module');
$output = $oModuleController->insertModuleConfig('krzip',$args);
return $output;
}
}
?>