mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'w51_MDL-30613_m22_FULLME' of git://github.com/skodak/moodle into MOODLE_22_STABLE
This commit is contained in:
commit
b750cfde81
4 changed files with 10 additions and 4 deletions
|
@ -1127,8 +1127,8 @@ function lti_get_launch_container($lti, $toolconfig) {
|
|||
}
|
||||
|
||||
function lti_request_is_using_ssl() {
|
||||
global $FULLME;
|
||||
return (stripos($FULLME, 'https://') === 0);
|
||||
global $CFG;
|
||||
return (stripos($CFG->httpswwwroot, 'https://') === 0);
|
||||
}
|
||||
|
||||
function lti_ensure_url_is_https($url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue