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

This commit is contained in:
zero 2007-03-30 02:54:13 +00:00
parent a0e9554964
commit fdffc30fec
4 changed files with 34 additions and 0 deletions

View file

@ -13,9 +13,16 @@
* @brief 설치시 추가 작업이 필요할시 구현
**/
function moduleInstall() {
// action forward에 등록 (관리자 모드에서 사용하기 위함)
$oModuleController = &getController('module');
$oModuleController->insertActionFoward('addon', 'dispAddonIndex');
$oModuleController->insertActionFoward('addon', 'dispAddonInfo');
$oModuleController->insertActionFoward('addon', 'procToggleActivateAddon');
// 몇가진 애드온을 기본으로 설치 상태로 지정
$oAddonController = &getController('addon');
$oAddonController->doActivate('spamfilter');
$oAddonController->doActivate('message');
return new Object();
}