mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@782 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
02f3858c76
commit
73c0f6457b
5 changed files with 32 additions and 11 deletions
|
|
@ -298,6 +298,13 @@
|
|||
* @brief member 테이블에 사용자 추가
|
||||
**/
|
||||
function insertMember($args) {
|
||||
// 멤버 설정 정보에서 가입약관 부분을 재확인
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('member');
|
||||
if($config->agreement && Context::get('accept_agreement')!='Y') {
|
||||
return new Object(-1, 'msg_accept_agreement');
|
||||
}
|
||||
|
||||
// 필수 변수들의 조절
|
||||
if($args->allow_mailing!='Y') $args->allow_mailing = 'N';
|
||||
if($args->denied!='Y') $args->denied = 'N';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue