mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
#17147582 회원 가입약관을 길게 쓸 경우 회원 설정 내용이 사라지는 오류를 수정.
수정 방법은 가입약관을 별도의 파일로 저장하고 DB에 저장하지 않도록 하여 수정. 가입약관 파일의 위치는 ./files/member_extra_info/agreement.txt 로 지정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6324 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ca413d3c90
commit
b729bc68f0
6 changed files with 65 additions and 16 deletions
|
|
@ -67,17 +67,8 @@
|
|||
function dispMemberAdminConfig() {
|
||||
// 설정 정보를 받아옴 (module model 객체를 이용)
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('member');
|
||||
if(!$config->webmaster_name) $config->webmaster_name = 'webmaster';
|
||||
if(!$config->image_name_max_width) $config->image_name_max_width = 90;
|
||||
if(!$config->image_name_max_height) $config->image_name_max_height = 20;
|
||||
if(!$config->image_mark_max_width) $config->image_mark_max_width = 20;
|
||||
if(!$config->image_mark_max_height) $config->image_mark_max_height = 20;
|
||||
if(!$config->profile_image_max_width) $config->profile_image_max_width = 80;
|
||||
if(!$config->profile_image_max_height) $config->profile_image_max_height = 80;
|
||||
if(!$config->skin) $config->skin = "default";
|
||||
if(!$config->editor_skin || $config->editor_skin == 'default') $config->editor_skin = "xpresseditor";
|
||||
if(!$config->group_image_mark) $config->group_image_mark = "N";
|
||||
$oMemberModel = &getModel('member');
|
||||
$config = $oMemberModel->getMemberConfig();
|
||||
Context::set('config',$config);
|
||||
|
||||
// 회원 관리 모듈의 스킨 목록을 구함
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue