MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect SSL requests.

This commit is contained in:
Chris Scribner 2011-11-16 12:41:32 -05:00
parent 6be90ce05f
commit 776e5cfa0f

View File

@ -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) {