mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
짧은 주소 미사용시 회원 가입후 이동할 주소가 잘못 생성되는 문제 수정
짧은 주소 미사용시에도 회원가입후 이동할 주소는 항상 짧은 주소 형태로 생성되는데, 이것을 설정에 따라 긴 주소로도 사용할 수 있게 변경하였습니다.
This commit is contained in:
parent
38e7dae913
commit
e5295c9850
3 changed files with 16 additions and 2 deletions
|
|
@ -141,7 +141,14 @@ class memberAdminView extends member
|
|||
|
||||
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');
|
||||
|
||||
|
|
@ -149,6 +156,7 @@ class memberAdminView extends member
|
|||
$moduleInfo = $oModuleModel->getModuleInfoByMid($mid, (int)$siteModuleInfo->site_srl);
|
||||
|
||||
$config->redirect_url = $moduleInfo->module_srl;
|
||||
|
||||
Context::set('config', $config);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue