Merge branch 'MDL-30326' of git://github.com/scriby/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2011-11-21 02:03:51 +01:00
+2 -2
View File
@@ -1136,8 +1136,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) {