mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Improve cookie secure setting values
HTTPS 를 사용하는 상황에 대한 판단을 할 수 있는 상황에서 쿠키의 secure flag 를 달아준다.
This commit is contained in:
parent
3c1e5bd64f
commit
73da2af393
6 changed files with 12 additions and 7 deletions
|
|
@ -191,8 +191,10 @@ class memberView extends member
|
|||
*/
|
||||
function dispMemberSignUpForm()
|
||||
{
|
||||
$ssl_only = (\RX_SSL && config('session.use_ssl')) ? true : false;
|
||||
|
||||
//setcookie for redirect url in case of going to member sign up
|
||||
setcookie("XE_REDIRECT_URL", $_SERVER['HTTP_REFERER']);
|
||||
setcookie("XE_REDIRECT_URL", $_SERVER['HTTP_REFERER'], 0, null, null, $ssl_only, true);
|
||||
|
||||
$member_config = $this->member_config;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue