mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
fix #1773 SSO가 동작하지 않는 문제 고침
This commit is contained in:
parent
dcf8a95ada
commit
7bc190a1e3
1 changed files with 2 additions and 1 deletions
|
|
@ -668,7 +668,8 @@ class Context
|
|||
$url_info = parse_url($url);
|
||||
|
||||
$oModuleModel = getModel('module');
|
||||
$site_info = $oModuleModel->getSiteInfoByDomain($url_info['host']);
|
||||
$target_domain = (stripos($url, $default_url) !== 0) ? $url_info['host'] : $default_url;
|
||||
$site_info = $oModuleModel->getSiteInfoByDomain($target_domain);
|
||||
if(!$site_info->site_srl) {
|
||||
$oModuleObject = new ModuleObject();
|
||||
$oModuleObject->stop('msg_invalid_request');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue