Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect …

…SSL requests.
  • Loading branch information...
commit 776e5cfa0fe1edc8cca0080181677155c82b0982 1 parent 6be90ce
scriby authored November 16, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  mod/lti/locallib.php
4  mod/lti/locallib.php
@@ -1167,8 +1167,8 @@ function lti_get_launch_container($lti, $toolconfig) {
1167 1167
 }
1168 1168
 
1169 1169
 function lti_request_is_using_ssl() {
1170  
-    global $ME;
1171  
-    return (stripos($ME, 'https://') === 0);
  1170
+    global $FULLME;
  1171
+    return (stripos($FULLME, 'https://') === 0);
1172 1172
 }
1173 1173
 
1174 1174
 function lti_ensure_url_is_https($url) {

0 notes on commit 776e5cf

Please sign in to comment.
Something went wrong with that request. Please try again.