mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
SSL 선택적 사용시 XEDITION 레이아웃의 로그인 팝업에 SSL이 적용되지 않는 문제 수정
This commit is contained in:
parent
0326a8b5d1
commit
592328eeb0
2 changed files with 14 additions and 2 deletions
|
|
@ -471,6 +471,18 @@ function getFullSiteUrl()
|
|||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the exact url of the current page
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function getCurrentPageUrl()
|
||||
{
|
||||
$protocol = $_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://';
|
||||
$url = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||
return htmlspecialchars($url, ENT_COMPAT, 'UTF-8', FALSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return if domain of the virtual site is url type or id type
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue