mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
SSO 이용시 메인 사이트로 redirect되어 오면서 도메인 주소가 변경되는 문제를 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6431 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
56226fc832
commit
152a5cb362
1 changed files with 5 additions and 2 deletions
|
|
@ -359,8 +359,11 @@
|
|||
} else {
|
||||
// SSO 결과를 받는 경우 session_name() 세팅
|
||||
if(Context::get('SSOID')) {
|
||||
setcookie(session_name(), Context::get('SSOID'), 0, '/');
|
||||
header("location:".str_replace('&','&',getUrl('SSOID','')));
|
||||
$session_name = Context::get('SSOID');
|
||||
setcookie(session_name(), $session_name);
|
||||
|
||||
$url = preg_replace('/([\?\&])$/','',str_replace('SSOID='.$session_name,'',Context::getRequestUrl()));
|
||||
header("location:".$url);
|
||||
return false;
|
||||
// SSO 결과를 요청
|
||||
} else if($_COOKIE['sso']!=md5(Context::getRequestUri()) && !Context::get('SSOID')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue