From 776e5cfa0fe1edc8cca0080181677155c82b0982 Mon Sep 17 00:00:00 2001 From: Chris Scribner Date: Wed, 16 Nov 2011 12:41:32 -0500 Subject: [PATCH] MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect SSL requests. --- mod/lti/locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php index df870bdcd1d..35fec4eea67 100644 --- a/mod/lti/locallib.php +++ b/mod/lti/locallib.php @@ -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) {