mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
better checking for SSL servers, even though it probably doesn't fix the cookie bug
This commit is contained in:
@@ -63,7 +63,7 @@ if(! $a->install) {
|
||||
((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5),
|
||||
((isset($arr['path'])) ? $arr['path'] : '/'),
|
||||
((isset($arr['domain'])) ? $arr['domain'] : $a->get_hostname()),
|
||||
((isset($_SERVER['HTTPS'])) ? true : false),
|
||||
((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),
|
||||
((isset($arr['httponly'])) ? $arr['httponly'] : true));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user