mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
짧은 주소 미사용시 회원 가입후 이동할 주소가 잘못 생성되는 문제 수정
짧은 주소 미사용시에도 회원가입후 이동할 주소는 항상 짧은 주소 형태로 생성되는데, 이것을 설정에 따라 긴 주소로도 사용할 수 있게 변경하였습니다.
This commit is contained in:
parent
38e7dae913
commit
e5295c9850
3 changed files with 16 additions and 2 deletions
|
|
@ -237,7 +237,8 @@ class memberAdminController extends member
|
||||||
return new Object('-1', 'msg_exist_selected_module');
|
return new Object('-1', 'msg_exist_selected_module');
|
||||||
}
|
}
|
||||||
|
|
||||||
$args->redirect_url = Context::getDefaultUrl().$redirectModuleInfo->mid;
|
$args->redirect_mid = $redirectModuleInfo->mid;
|
||||||
|
$args->redirect_url = getNotEncodedFullUrl('','mid',$redirectModuleInfo->mid);
|
||||||
}
|
}
|
||||||
|
|
||||||
$args->profile_image = $args->profile_image ? 'Y' : 'N';
|
$args->profile_image = $args->profile_image ? 'Y' : 'N';
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,14 @@ class memberAdminView extends member
|
||||||
|
|
||||||
if($config->redirect_url)
|
if($config->redirect_url)
|
||||||
{
|
{
|
||||||
$mid = str_ireplace(Context::getDefaultUrl(), '', $config->redirect_url);
|
if(!$config->redirect_mid)
|
||||||
|
{
|
||||||
|
$mid = str_ireplace(Context::getDefaultUrl(), '', $config->redirect_url);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$mid = $config->redirect_mid;
|
||||||
|
}
|
||||||
|
|
||||||
$siteModuleInfo = Context::get('site_module_info');
|
$siteModuleInfo = Context::get('site_module_info');
|
||||||
|
|
||||||
|
|
@ -149,6 +156,7 @@ class memberAdminView extends member
|
||||||
$moduleInfo = $oModuleModel->getModuleInfoByMid($mid, (int)$siteModuleInfo->site_srl);
|
$moduleInfo = $oModuleModel->getModuleInfoByMid($mid, (int)$siteModuleInfo->site_srl);
|
||||||
|
|
||||||
$config->redirect_url = $moduleInfo->module_srl;
|
$config->redirect_url = $moduleInfo->module_srl;
|
||||||
|
|
||||||
Context::set('config', $config);
|
Context::set('config', $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,11 @@ class memberModel extends member
|
||||||
if(!$config->signature_editor_skin || $config->signature_editor_skin == 'default') $config->signature_editor_skin = 'ckeditor';
|
if(!$config->signature_editor_skin || $config->signature_editor_skin == 'default') $config->signature_editor_skin = 'ckeditor';
|
||||||
if(!$config->sel_editor_colorset) $config->sel_editor_colorset = 'moono';
|
if(!$config->sel_editor_colorset) $config->sel_editor_colorset = 'moono';
|
||||||
|
|
||||||
|
if($config->redirect_mid)
|
||||||
|
{
|
||||||
|
$config->redirect_url = getNotEncodedFullUrl('','mid',$config->redirect_mid);
|
||||||
|
}
|
||||||
|
|
||||||
$member_config = $config;
|
$member_config = $config;
|
||||||
|
|
||||||
return $config;
|
return $config;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue