MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect SSL requests.
authorChris Scribner <scriby@gmail.com>
Wed, 16 Nov 2011 17:41:32 +0000 (12:41 -0500)
committerChris Scribner <scriby@gmail.com>
Thu, 17 Nov 2011 14:35:56 +0000 (09:35 -0500)
mod/lti/locallib.php

index df870bd..35fec4e 100644 (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) {