mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect SSL requests.
This commit is contained in:
parent
6be90ce05f
commit
776e5cfa0f
@ -1167,8 +1167,8 @@ function lti_get_launch_container($lti, $toolconfig) {
|
||||
}
|
||||
|
||||
function lti_request_is_using_ssl() {
|
||||
global $ME;
|
||||
return (stripos($ME, 'https://') === 0);
|
||||
global $FULLME;
|
||||
return (stripos($FULLME, 'https://') === 0);
|
||||
}
|
||||
|
||||
function lti_ensure_url_is_https($url) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user